http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Course.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Course.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Course.java index f4e1ce6..667fec4 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Course.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Course.java @@ -99,7 +99,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param courseDateRange The timeframe a course is running */ - public void setCourseDateRange(DateTimeRange courseDateRange); + void setCourseDateRange(DateTimeRange courseDateRange); /** * The timeframe a course is running. @@ -152,7 +152,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return The timeframe a course is running */ - public DateTimeRange getCourseDateRange(); + DateTimeRange getCourseDateRange(); /** * ID code associated with a course. @@ -189,7 +189,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param courseNumber ID code associated with a course */ - public void setCourseNumber(String courseNumber); + void setCourseNumber(String courseNumber); /** * ID code associated with a course. @@ -227,7 +227,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return ID code associated with a course */ - public String getCourseNumber(); + String getCourseNumber(); /** * Time a class is in session. @@ -264,7 +264,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param courseTimes Time a class is in session */ - public void setCourseTimes(String courseTimes); + void setCourseTimes(String courseTimes); /** * Time a class is in session. @@ -302,7 +302,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return Time a class is in session */ - public String getCourseTimes(); + String getCourseTimes(); /** * Salary for this position. @@ -349,7 +349,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param salary Salary for this position */ - public void setSalary(Float salary); + void setSalary(Float salary); /** * Salary for this position. @@ -395,7 +395,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return Salary for this position */ - public Float getSalary(); + Float getSalary(); /** * Topics of study for a course. @@ -437,7 +437,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param subject Topics of study for a course */ - public void setSubjects(String[] subject); + void setSubjects(String[] subject); /** * Topics of study for a course. @@ -479,7 +479,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return Topics of study for a course */ - public String[] getSubjects(); + String[] getSubjects(); /** * Name of the school at which a class is offered. @@ -521,7 +521,7 @@ public interface Course extends GlobalInterface { * </tbody></table> * @param university Name of the school at which a class is offered. */ - public void setUniversity(String university); + void setUniversity(String university); /** * Name of the school at which a class is offered. @@ -563,5 +563,5 @@ public interface Course extends GlobalInterface { * </tbody></table> * @return Name of the school at which a class is offered. */ - public String getUniversity(); + String getUniversity(); }
http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java index 55139c6..b362bd1 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTag.java @@ -32,7 +32,7 @@ public interface CustomTag { * Returns the tag name used. * @return Returns the tag name used. */ - public String getName(); + String getName(); /** * The value of the custom tag. @@ -120,6 +120,6 @@ public interface CustomTag { * </tbody></table> * @return The value of the tag. The objects class is determined by the "type" attribute on the tag. */ - public Object getValue(); + Object getValue(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java index 8438d8d..3f08a85 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTagImpl.java @@ -25,7 +25,6 @@ import org.rometools.feed.module.base.types.IntUnit; import org.rometools.feed.module.base.types.ShortDate; import java.net.URL; - import java.util.Date; @@ -208,8 +207,7 @@ public class CustomTagImpl implements CustomTag { } public boolean equals( Object o ){ - if( o instanceof Location && ((Location) o).value.equals(this.value) ) return true; - else return false; + return o instanceof Location && ((Location) o).value.equals(this.value); } } } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java index 00bdb75..a7b34eb 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/CustomTags.java @@ -21,6 +21,7 @@ package org.rometools.feed.module.base; import com.sun.syndication.feed.module.Module; + import java.util.List; /** @@ -29,10 +30,10 @@ import java.util.List; */ public interface CustomTags extends Module { - public static final String URI = "http://base.google.com/cns/1.0"; + String URI = "http://base.google.com/cns/1.0"; - public List getValues(); + List getValues(); - public void setValues(List values); + void setValues(List values); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java index 1e52871..b87343a 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Event.java @@ -39,12 +39,7 @@ */ package org.rometools.feed.module.base; -import org.rometools.feed.module.base.types.CurrencyEnumeration; -import org.rometools.feed.module.base.types.DateTimeRange; -import org.rometools.feed.module.base.types.FloatUnit; -import org.rometools.feed.module.base.types.PaymentTypeEnumeration; -import org.rometools.feed.module.base.types.PriceTypeEnumeration; -import org.rometools.feed.module.base.types.ShippingType; +import org.rometools.feed.module.base.types.*; /** @@ -93,7 +88,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param value Currency of the price amount for an item. */ - public void setCurrency(CurrencyEnumeration value); + void setCurrency(CurrencyEnumeration value); /** * Currency of the price amount for an item. @@ -134,7 +129,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Currency of the price amount for an item. */ - public CurrencyEnumeration getCurrency(); + CurrencyEnumeration getCurrency(); /** * Additional instructions to explain the itemâs delivery process. @@ -172,7 +167,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param deliveryNotes Additional instructions to explain the itemâs delivery process. */ - public void setDeliveryNotes(String deliveryNotes); + void setDeliveryNotes(String deliveryNotes); /** * Additional instructions to explain the itemâs delivery process. @@ -210,7 +205,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Additional instructions to explain the itemâs delivery process. */ - public String getDeliveryNotes(); + String getDeliveryNotes(); /** * The maximum distance you will deliver an item in any direction. @@ -249,7 +244,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param deliveryRadius The maximum distance you will deliver an item in any direction. */ - public void setDeliveryRadius(FloatUnit deliveryRadius); + void setDeliveryRadius(FloatUnit deliveryRadius); /** * The maximum distance you will deliver an item in any direction. @@ -288,7 +283,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return The maximum distance you will deliver an item in any direction. */ - public FloatUnit getDeliveryRadius(); + FloatUnit getDeliveryRadius(); /** * The time during which this event takes place. @@ -342,7 +337,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param eventDateRange The time during which this event takes place. */ - public void setEventDateRange(DateTimeRange eventDateRange); + void setEventDateRange(DateTimeRange eventDateRange); /** * The time during which this event takes place. @@ -396,7 +391,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return The time during which this event takes place. */ - public DateTimeRange getEventDateRange(); + DateTimeRange getEventDateRange(); /** * Location where the event will be held. @@ -446,7 +441,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param location Location where the event will be held. */ - public void setLocation(String location); + void setLocation(String location); /** * Location where the event will be held. @@ -496,7 +491,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Location where the event will be held. */ - public String getLocation(); + String getLocation(); /** * Payment Methods acceptable for the event. @@ -553,7 +548,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param paymentAccepted Payment Methods acceptable for the event. */ - public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); + void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); /** * Payment Methods acceptable for the event. @@ -610,7 +605,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Payment Methods acceptable for the event. */ - public PaymentTypeEnumeration[] getPaymentAccepted(); + PaymentTypeEnumeration[] getPaymentAccepted(); /** * Additional information about payment. @@ -737,7 +732,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param paymentNotes Additional information about payment. */ - public void setPaymentNotes(String paymentNotes); + void setPaymentNotes(String paymentNotes); /** * Additional information about payment. @@ -784,7 +779,7 @@ public interface Event extends GlobalInterface { * * @return Additional information about payment. */ - public String getPaymentNotes(); + String getPaymentNotes(); /** * Price of the event. @@ -842,7 +837,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param price Price of the event. */ - public void setPrice(FloatUnit price); + void setPrice(FloatUnit price); /** * Price of the event. @@ -900,7 +895,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Price of the event. */ - public FloatUnit getPrice(); + FloatUnit getPrice(); /** * Price qualifier for the even cost. @@ -945,7 +940,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param priceType Price qualifier for the even cost. */ - public void setPriceType(PriceTypeEnumeration priceType); + void setPriceType(PriceTypeEnumeration priceType); /** * Price qualifier for the even cost. @@ -990,7 +985,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Price qualifier for the even cost. */ - public PriceTypeEnumeration getPriceType(); + PriceTypeEnumeration getPriceType(); /** * Quantity available. @@ -1044,7 +1039,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param quantity Quantity available. */ - public void setQuantity(Integer quantity); + void setQuantity(Integer quantity); /** * Quantity available. @@ -1098,7 +1093,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Quantity available. */ - public Integer getQuantity(); + Integer getQuantity(); /** * Shipping information related to the event. @@ -1156,7 +1151,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param shipping Shipping information related to the event. */ - public void setShipping(ShippingType[] shipping); + void setShipping(ShippingType[] shipping); /** * Shipping information related to the event. @@ -1214,7 +1209,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Shipping information related to the event. */ - public ShippingType[] getShipping(); + ShippingType[] getShipping(); /** * Tax rate associated with the event. @@ -1258,7 +1253,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param taxPercent Tax rate associated with the event. */ - public void setTaxPercent(Float taxPercent); + void setTaxPercent(Float taxPercent); /** * Tax rate associated with the event. @@ -1302,7 +1297,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Tax rate associated with the event. */ - public Float getTaxPercent(); + Float getTaxPercent(); /** * Region where tax applies. @@ -1349,7 +1344,7 @@ public interface Event extends GlobalInterface { * </tbody></table> * @param taxRegion Region where tax applies. */ - public void setTaxRegion(String taxRegion); + void setTaxRegion(String taxRegion); /** * Region where tax applies. @@ -1396,5 +1391,5 @@ public interface Event extends GlobalInterface { * </tbody></table> * @return Region where tax applies. */ - public String getTaxRegion(); + String getTaxRegion(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GlobalInterface.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GlobalInterface.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GlobalInterface.java index f5a41af..8b97a07 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GlobalInterface.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GlobalInterface.java @@ -83,7 +83,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @param expirationDate the date this entry will expire */ - public void setExpirationDate(Date expirationDate); + void setExpirationDate(Date expirationDate); /** Expiration Date for this item. * <br> @@ -118,7 +118,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @return the date this entry will expire */ - public Date getExpirationDate(); + Date getExpirationDate(); /** * Date and time that the item expires. @@ -156,7 +156,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @param expirationDateTime Date and time that the item expires. */ - public void setExpirationDateTime(Date expirationDateTime); + void setExpirationDateTime(Date expirationDateTime); /** * Date and time that the item expires. @@ -194,7 +194,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @return Date and time that the item expires. */ - public Date getExpirationDateTime(); + Date getExpirationDateTime(); /** Unique id for this item. * <table border="1" cellpadding="5" cellspacing="0" width="640"> @@ -231,7 +231,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @param id unique identifier for this entry */ - public void setId(String id); + void setId(String id); /** Unique id for this item. * <table border="1" cellpadding="5" cellspacing="0" width="640"> @@ -268,7 +268,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @return unique identifier for this entry */ - public String getId(); + String getId(); /**Images for this item. * <br> @@ -317,7 +317,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @param imageLinks URLs to images. Limit 10. */ - public void setImageLinks(URL[] imageLinks); + void setImageLinks(URL[] imageLinks); /**Images for this item. * <br> @@ -366,7 +366,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @return URLs to images */ - public URL[] getImageLinks(); + URL[] getImageLinks(); /**Labels for this item. * <br> @@ -447,7 +447,7 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @param labels labels for this entry. Limit 10. */ - public void setLabels(String[] labels); + void setLabels(String[] labels); /**Labels for this item. * <br> @@ -528,5 +528,5 @@ public interface GlobalInterface extends Serializable { * </tbody></table> * @return labels for this entry */ - public String[] getLabels(); + String[] getLabels(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBase.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBase.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBase.java index f52ab24..e6a9fd6 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBase.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBase.java @@ -58,5 +58,5 @@ import com.sun.syndication.feed.module.Module; */ public interface GoogleBase extends Module,Article,Course,Event,Job,Person,Product,Review,ScholarlyArticle,Service,Travel,Unknown,Vehicle,Wanted,Housing { /** This is the URI for the Google Base Schema. */ - public static final String URI = "http://base.google.com/ns/1.0"; + String URI = "http://base.google.com/ns/1.0"; } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBaseImpl.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBaseImpl.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBaseImpl.java index ab89e2f..79e9bf3 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBaseImpl.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/GoogleBaseImpl.java @@ -40,24 +40,10 @@ package org.rometools.feed.module.base; import com.sun.syndication.feed.CopyFrom; import com.sun.syndication.feed.impl.EqualsBean; - -import org.rometools.feed.module.base.types.CloneableType; -import org.rometools.feed.module.base.types.CurrencyEnumeration; -import org.rometools.feed.module.base.types.DateTimeRange; -import org.rometools.feed.module.base.types.FloatUnit; -import org.rometools.feed.module.base.types.GenderEnumeration; -import org.rometools.feed.module.base.types.IntUnit; -import org.rometools.feed.module.base.types.PaymentTypeEnumeration; -import org.rometools.feed.module.base.types.PriceTypeEnumeration; -import org.rometools.feed.module.base.types.ShippingType; -import org.rometools.feed.module.base.types.ShortDate; -import org.rometools.feed.module.base.types.Size; -import org.rometools.feed.module.base.types.YearType; +import org.rometools.feed.module.base.types.*; import java.lang.reflect.Array; - import java.net.URL; - import java.util.Date; @@ -1230,9 +1216,7 @@ public class GoogleBaseImpl implements GoogleBase { Object[] array = (Object[])Array.newInstance(source.getClass().getComponentType(),source.length); - for(int i = 0; i < source.length; i++) { - array[i] = source[i]; - } + System.arraycopy(source, 0, array, 0, source.length); return array; } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Housing.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Housing.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Housing.java index dcae444..79e6cf0 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Housing.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Housing.java @@ -39,12 +39,7 @@ */ package org.rometools.feed.module.base; -import org.rometools.feed.module.base.types.CurrencyEnumeration; -import org.rometools.feed.module.base.types.FloatUnit; -import org.rometools.feed.module.base.types.IntUnit; -import org.rometools.feed.module.base.types.PaymentTypeEnumeration; -import org.rometools.feed.module.base.types.PriceTypeEnumeration; -import org.rometools.feed.module.base.types.YearType; +import org.rometools.feed.module.base.types.*; /** @@ -85,7 +80,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param agents An array of agent name Strings, not to exceed 10 in lenght. */ - public void setAgents(String[] agents); + void setAgents(String[] agents); /** * An array of agent name Strings, not to exceed 10 in lenght. @@ -118,7 +113,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return An array of agent name Strings, not to exceed 10 in lenght. */ - public String[] getAgents(); + String[] getAgents(); /** * The area of the real estate. @@ -152,7 +147,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param area The area of the real estate */ - public void setArea(IntUnit area); + void setArea(IntUnit area); /** * The area of the real estate. @@ -186,7 +181,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return The area of the real estate */ - public IntUnit getArea(); + IntUnit getArea(); /** * The number of bathrooms. @@ -235,7 +230,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param bathrooms The number of bathrooms. */ - public void setBathrooms(Float bathrooms); + void setBathrooms(Float bathrooms); /** * The number of bathrooms. @@ -284,7 +279,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return number of bathrooms */ - public Float getBathrooms(); + Float getBathrooms(); /** * Number of bedrooms. @@ -321,7 +316,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param bedrooms Number of bedrooms. */ - public void setBedrooms(Integer bedrooms); + void setBedrooms(Integer bedrooms); /** * Number of bedrooms. @@ -359,7 +354,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Number of bedrooms */ - public Integer getBedrooms(); + Integer getBedrooms(); /** * Currency of the price amount for an item. @@ -400,7 +395,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param value Currency of the price amount for an item. */ - public void setCurrency(CurrencyEnumeration value); + void setCurrency(CurrencyEnumeration value); /** * Currency of the price amount for an item. @@ -441,7 +436,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Currency of the price amount for an item. */ - public CurrencyEnumeration getCurrency(); + CurrencyEnumeration getCurrency(); /** * Homeowners association dues on the property. @@ -475,7 +470,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param hoaDues Homeowners association dues on the property. */ - public void setHoaDues(Float hoaDues); + void setHoaDues(Float hoaDues); /** * Homeowners association dues on the property. @@ -509,7 +504,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Homeowners association dues on the property. */ - public Float getHoaDues(); + Float getHoaDues(); /** * Indicates whether this property is for sale or not. @@ -554,7 +549,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param forSale Indicates whether this property is for sale or not. */ - public void setListingType(Boolean forSale); + void setListingType(Boolean forSale); /** * Indicates whether this property is for sale or not. @@ -599,7 +594,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Indicates whether this property is for sale or not. */ - public Boolean getListingType(); + Boolean getListingType(); /** * Location of the property. @@ -649,7 +644,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param location Location of the property. */ - public void setLocation(String location); + void setLocation(String location); /** * Location of the property. @@ -699,7 +694,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Location of the property. */ - public String getLocation(); + String getLocation(); /** * Payment Methods acceptable for the property. @@ -756,7 +751,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param paymentAccepted Payment Methods acceptable for the property. */ - public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); + void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); /** * Payment Methods acceptable for the property. @@ -813,7 +808,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Payment Methods acceptable for the property. */ - public PaymentTypeEnumeration[] getPaymentAccepted(); + PaymentTypeEnumeration[] getPaymentAccepted(); /** * Additional payment information. @@ -858,7 +853,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param paymentNotes Additional payment information. */ - public void setPaymentNotes(String paymentNotes); + void setPaymentNotes(String paymentNotes); /** * Additional payment information. @@ -903,7 +898,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Additional payment information. */ - public String getPaymentNotes(); + String getPaymentNotes(); /** * Price for the property. @@ -957,7 +952,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param price Price for the property. */ - public void setPrice(FloatUnit price); + void setPrice(FloatUnit price); /** * Price for the property. @@ -1011,7 +1006,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Price for the property. */ - public FloatUnit getPrice(); + FloatUnit getPrice(); /** * Price type information. @@ -1057,7 +1052,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param priceType Price type information. */ - public void setPriceType(PriceTypeEnumeration priceType); + void setPriceType(PriceTypeEnumeration priceType); /** * Price type information. @@ -1103,7 +1098,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Price type information. */ - public PriceTypeEnumeration getPriceType(); + PriceTypeEnumeration getPriceType(); /** * Types of property represented here. Limit 10. @@ -1147,7 +1142,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param propertyTypes Types of property represented here. Limit 10. */ - public void setPropertyTypes(String[] propertyTypes); + void setPropertyTypes(String[] propertyTypes); /** * Types of property represented here. @@ -1191,7 +1186,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Types of property represented here. Limit 10. */ - public String[] getPropertyTypes(); + String[] getPropertyTypes(); /** * School district a property is in. @@ -1236,7 +1231,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param schoolDistrict School district a property is in. */ - public void setSchoolDistrict(String schoolDistrict); + void setSchoolDistrict(String schoolDistrict); /** * School district a property is in. @@ -1281,7 +1276,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return School district a property is in. */ - public String getSchoolDistrict(); + String getSchoolDistrict(); /** * Percentage tax rate. @@ -1324,7 +1319,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param taxPercent Percentage tax rate. */ - public void setTaxPercent(Float taxPercent); + void setTaxPercent(Float taxPercent); /** * Percentage tax rate. @@ -1367,7 +1362,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Percentage tax rate. */ - public Float getTaxPercent(); + Float getTaxPercent(); /** * Geographical region a tax rate applies to. @@ -1412,7 +1407,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param taxRegion Geographical region a tax rate applies to. */ - public void setTaxRegion(String taxRegion); + void setTaxRegion(String taxRegion); /** * Geographical region a tax rate applies to. @@ -1457,7 +1452,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return Geographical region a tax rate applies to. */ - public String getTaxRegion(); + String getTaxRegion(); /** * The four digit model year or year built. @@ -1508,7 +1503,7 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @param year The four digit model year or year built. */ - public void setYear(YearType year); + void setYear(YearType year); /** * The four digit model year or year built. @@ -1559,5 +1554,5 @@ public interface Housing extends GlobalInterface { * </tbody></table> * @return The four digit model year or year built. */ - public YearType getYear(); + YearType getYear(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Job.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Job.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Job.java index 943c5e4..1593b6a 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Job.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Job.java @@ -79,7 +79,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param education Level of education required for an employment position. */ - public void setEducation(String education); + void setEducation(String education); /** * Level of education required for an employment position. @@ -110,7 +110,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Level of education required for an employment position. */ - public String getEducation(); + String getEducation(); /** * Company providing employment. @@ -140,7 +140,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param employer Company providing employment. */ - public void setEmployer(String employer); + void setEmployer(String employer); /** * Company providing employment. @@ -170,7 +170,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Company providing employment. */ - public String getEmployer(); + String getEmployer(); /** * Legal residency requirements for an employment position. @@ -205,7 +205,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param immigrationStatus Legal residency requirements for an employment position. */ - public void setImmigrationStatus(String immigrationStatus); + void setImmigrationStatus(String immigrationStatus); /** * Legal residency requirements for an employment position. @@ -240,7 +240,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Legal residency requirements for an employment position. */ - public String getImmigrationStatus(); + String getImmigrationStatus(); /** * The functions of an employment position. @@ -285,7 +285,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param function The functions of an employment position. */ - public void setJobFunctions(String[] function); + void setJobFunctions(String[] function); /** * The functions of an employment position. @@ -330,7 +330,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return The functions of an employment position. */ - public String[] getJobFunctions(); + String[] getJobFunctions(); /** * The industry of an employment position. @@ -371,7 +371,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param jobIndustries The industry of an employment position. */ - public void setJobIndustries(String[] jobIndustries); + void setJobIndustries(String[] jobIndustries); /** * The industry of an employment position. @@ -412,7 +412,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return The industry of an employment position. */ - public String[] getJobIndustries(); + String[] getJobIndustries(); /** * Type of employment position. Example: Full-time, part-time, contractor, etc. @@ -454,7 +454,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param jobTypes Type of employment position. Example: Full-time, part-time, contractor, etc. */ - public void setJobTypes(String[] jobTypes); + void setJobTypes(String[] jobTypes); /** * Type of employment position. Example: Full-time, part-time, contractor, etc. @@ -496,7 +496,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Type of employment position. Example: Full-time, part-time, contractor, etc. */ - public String[] getJobTypes(); + String[] getJobTypes(); /** * Location of the position. @@ -546,7 +546,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param location Location of the position. */ - public void setLocation(String location); + void setLocation(String location); /** * Location of the position. @@ -596,7 +596,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Location of the position. */ - public String getLocation(); + String getLocation(); /** * Salary for this position. Non-numeric values such as "$" symbols are not acceptable. @@ -640,7 +640,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param salary Salary for this position. Non-numeric values such as "$" symbols are not acceptable. */ - public void setSalary(Float salary); + void setSalary(Float salary); /** * Salary for this position. Non-numeric values such as "$" symbols are not acceptable. @@ -684,7 +684,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Salary for this position. Non-numeric values such as "$" symbols are not acceptable. */ - public Float getSalary(); + Float getSalary(); /** * The type of salary included. @@ -728,7 +728,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param salaryType The type of salary included. */ - public void setSalaryType(PriceTypeEnumeration salaryType); + void setSalaryType(PriceTypeEnumeration salaryType); /** * The type of salary included. @@ -772,7 +772,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return The type of salary included. */ - public PriceTypeEnumeration getSalaryType(); + PriceTypeEnumeration getSalaryType(); /** @@ -814,7 +814,7 @@ public interface Job extends GlobalInterface { * </tbody></table> * @param value Currency of the price amount for an item. */ - public void setCurrency(CurrencyEnumeration value); + void setCurrency(CurrencyEnumeration value); /** * Currency of the price amount for an item. @@ -855,6 +855,6 @@ public interface Job extends GlobalInterface { * </tbody></table> * @return Currency of the price amount for an item. */ - public CurrencyEnumeration getCurrency(); + CurrencyEnumeration getCurrency(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Person.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Person.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Person.java index f3d43fd..0200692 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Person.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Person.java @@ -83,7 +83,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param age Age of the individual. */ - public void setAge(Integer age); + void setAge(Integer age); /** * Age of the individual. @@ -120,7 +120,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Age of the individual. */ - public Integer getAge(); + Integer getAge(); /** * Education of the individual. @@ -151,7 +151,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param education Education of the individual. */ - public void setEducation(String education); + void setEducation(String education); /** * Education of the individual. @@ -182,7 +182,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Education of the individual. */ - public String getEducation(); + String getEducation(); /** * Individuals employer. @@ -213,7 +213,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param employer Individuals employer. */ - public void setEmployer(String employer); + void setEmployer(String employer); /** * Individuals employer. @@ -244,7 +244,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Individuals employer. */ - public String getEmployer(); + String getEmployer(); /** * Ethnicity of the individual in the People profiles bulk upload entry. @@ -279,7 +279,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param ethnicities Ethnicity of the individual in the People profiles bulk upload entry. */ - public void setEthnicities(String[] ethnicities); + void setEthnicities(String[] ethnicities); /** * Ethnicity of the individual in the People profiles bulk upload entry. @@ -314,7 +314,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Ethnicity of the individual in the People profiles bulk upload entry. */ - public String[] getEthnicities(); + String[] getEthnicities(); /** * Gender of an individual in a People profiles bulk upload. @@ -349,7 +349,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param gender Gender of an individual in a People profiles bulk upload. */ - public void setGender(GenderEnumeration gender); + void setGender(GenderEnumeration gender); /** * Gender of an individual in a People profiles bulk upload. @@ -384,7 +384,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Gender of an individual in a People profiles bulk upload. */ - public GenderEnumeration getGender(); + GenderEnumeration getGender(); /** * Interest of a person being profiled. @@ -419,7 +419,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param interestedIn Interest of a person being profiled. */ - public void setInterestedIn(String[] interestedIn); + void setInterestedIn(String[] interestedIn); /** * Interest of a person being profiled. @@ -454,7 +454,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Interest of a person being profiled. */ - public String[] getInterestedIn(); + String[] getInterestedIn(); /** * Location of a person. @@ -504,7 +504,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param location Location of a person. */ - public void setLocation(String location); + void setLocation(String location); /** * Location of a person. @@ -554,7 +554,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Location of a person. */ - public String getLocation(); + String getLocation(); /** * Marital status of an individual. @@ -602,7 +602,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param maritalStatus Marital status of an individual. */ - public void setMaritalStatus(String maritalStatus); + void setMaritalStatus(String maritalStatus); /** * Marital status of an individual. @@ -650,7 +650,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Marital status of an individual. */ - public String getMaritalStatus(); + String getMaritalStatus(); /** * Occupation of an individual. @@ -695,7 +695,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param occupation Occupation of an individual. */ - public void setOccupation(String occupation); + void setOccupation(String occupation); /** * Occupation of an individual. @@ -740,7 +740,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Occupation of an individual. */ - public String getOccupation(); + String getOccupation(); /** * Individual's sexual orientation. @@ -783,7 +783,7 @@ public interface Person extends GlobalInterface { * </tbody></table> * @param sexualOrientation Individual's sexual orientation. */ - public void setSexualOrientation(String sexualOrientation); + void setSexualOrientation(String sexualOrientation); /** * Individual's sexual orientation. @@ -826,5 +826,5 @@ public interface Person extends GlobalInterface { * </tbody></table> * @return Individual's sexual orientation. */ - public String getSexualOrientation(); + String getSexualOrientation(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Product.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Product.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Product.java index 2bd82b7..5fabf3a 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Product.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Product.java @@ -39,12 +39,7 @@ */ package org.rometools.feed.module.base; -import org.rometools.feed.module.base.types.CurrencyEnumeration; -import org.rometools.feed.module.base.types.FloatUnit; -import org.rometools.feed.module.base.types.PaymentTypeEnumeration; -import org.rometools.feed.module.base.types.PriceTypeEnumeration; -import org.rometools.feed.module.base.types.ShippingType; -import org.rometools.feed.module.base.types.Size; +import org.rometools.feed.module.base.types.*; /** @@ -85,7 +80,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param actors Actor featured in the video. */ - public void setActors(String[] actors); + void setActors(String[] actors); /** * Actor featured in the video. @@ -118,7 +113,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Actor featured in the video. */ - public String[] getActors(); + String[] getActors(); /** * The type of apparel being offered. @@ -153,7 +148,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param apparelType The type of apparel being offered. */ - public void setApparelType(String apparelType); + void setApparelType(String apparelType); /** * The type of apparel being offered. @@ -188,7 +183,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The type of apparel being offered. */ - public String getApparelType(); + String getApparelType(); /** * Artist that created the work. @@ -230,7 +225,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param artists Artist that created the work. */ - public void setArtists(String[] artists); + void setArtists(String[] artists); /** * Artist that created the work. @@ -272,7 +267,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Artist that created the work. */ - public String[] getArtists(); + String[] getArtists(); /** * Author of the item. @@ -313,7 +308,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param authors Author of the item. */ - public void setAuthors(String[] authors); + void setAuthors(String[] authors); /** * Author of the item. @@ -354,7 +349,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Author of the item. */ - public String[] getAuthors(); + String[] getAuthors(); /** * The brand name of an item. @@ -385,7 +380,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param brand The brand name of an item. */ - public void setBrand(String brand); + void setBrand(String brand); /** * The brand name of an item. @@ -416,7 +411,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The brand name of an item. */ - public String getBrand(); + String getBrand(); /** * Color of an item. @@ -460,7 +455,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param color Color of an item. */ - public void setColors(String[] color); + void setColors(String[] color); /** * Color of an item. @@ -504,7 +499,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Color of an item. */ - public String[] getColors(); + String[] getColors(); /** * Condition of the item. For example: new, used, or refurbished. @@ -543,7 +538,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param condition Condition of the item. For example: new, used, or refurbished. */ - public void setCondition(String condition); + void setCondition(String condition); /** * Condition of the item. For example: new, used, or refurbished. @@ -582,7 +577,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Condition of the item. For example: new, used, or refurbished. */ - public String getCondition(); + String getCondition(); /** * Currency of the price amount for an item. @@ -623,7 +618,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param value Currency of the price amount for an item. */ - public void setCurrency(CurrencyEnumeration value); + void setCurrency(CurrencyEnumeration value); /** * Currency of the price amount for an item. @@ -664,7 +659,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Currency of the price amount for an item. */ - public CurrencyEnumeration getCurrency(); + CurrencyEnumeration getCurrency(); /** * Additional instructions to explain the itemâs delivery process. @@ -702,7 +697,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param deliveryNotes Additional instructions to explain the itemâs delivery process. */ - public void setDeliveryNotes(String deliveryNotes); + void setDeliveryNotes(String deliveryNotes); /** * Additional instructions to explain the item;s delivery process. @@ -739,7 +734,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Additional instructions to explain the item�s delivery process. */ - public String getDeliveryNotes(); + String getDeliveryNotes(); /** * The maximum distance you will deliver an item in any direction. @@ -778,7 +773,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param deliveryRadius The maximum distance you will deliver an item in any direction. */ - public void setDeliveryRadius(FloatUnit deliveryRadius); + void setDeliveryRadius(FloatUnit deliveryRadius); /** * The maximum distance you will deliver an item in any direction. @@ -817,7 +812,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The maximum distance you will deliver an item in any direction. */ - public FloatUnit getDeliveryRadius(); + FloatUnit getDeliveryRadius(); /** * Format of the content. @@ -851,7 +846,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param format Format of the content. */ - public void setFormat(String[] format); + void setFormat(String[] format); /** * Format of the content. @@ -885,7 +880,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Format of the content. */ - public String[] getFormat(); + String[] getFormat(); /** * A unique 10 or 13 digit number assigned to every printed book. @@ -918,7 +913,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param isbn A unique 10 or 13 digit number assigned to every printed book. */ - public void setIsbn(String isbn); + void setIsbn(String isbn); /** * A unique 10 or 13 digit number assigned to every printed book. @@ -951,7 +946,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return A unique 10 or 13 digit number assigned to every printed book. */ - public String getIsbn(); + String getIsbn(); /** * Location of a property. Should include street, city, state, postal code, and country, in that order. @@ -1001,7 +996,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param location Location of a property. Should include street, city, state, postal code, and country, in that order. */ - public void setLocation(String location); + void setLocation(String location); /** * Location of a property. Should include street, city, state, postal code, and country, in that order. @@ -1051,7 +1046,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Location of a property. Should include street, city, state, postal code, and country, in that order. */ - public String getLocation(); + String getLocation(); /** * Company that manufactures the item. @@ -1096,7 +1091,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param manufacturer Company that manufactures the item. */ - public void setManufacturer(String manufacturer); + void setManufacturer(String manufacturer); /** * Company that manufactures the item. @@ -1141,7 +1136,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Company that manufactures the item. */ - public String getManufacturer(); + String getManufacturer(); /** * Unique product ID code assigned by its manufacturer. @@ -1183,7 +1178,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param manufacturerId Unique product ID code assigned by its manufacturer. */ - public void setManufacturerId(String manufacturerId); + void setManufacturerId(String manufacturerId); /** * Unique product ID code assigned by its manufacturer. @@ -1225,7 +1220,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Unique product ID code assigned by its manufacturer. */ - public String getManufacturerId(); + String getManufacturerId(); /** * Resolution of a digital imaging device. @@ -1268,7 +1263,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param megapixels Resolution of a digital imaging device. */ - public void setMegapixels(FloatUnit megapixels); + void setMegapixels(FloatUnit megapixels); /** * Resolution of a digital imaging device. @@ -1311,7 +1306,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Resolution of a digital imaging device. */ - public FloatUnit getMegapixels(); + FloatUnit getMegapixels(); /** * The amount of memory included in an item. @@ -1354,7 +1349,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param memory The amount of memory included in an item. */ - public void setMemory(FloatUnit memory); + void setMemory(FloatUnit memory); /** * The amount of memory included in an item. @@ -1397,7 +1392,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The amount of memory included in an item. */ - public FloatUnit getMemory(); + FloatUnit getMemory(); /** * Model number of the product. @@ -1439,7 +1434,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param modelNumber Model number of the product. */ - public void setModelNumber(String modelNumber); + void setModelNumber(String modelNumber); /** * Model number of the product. @@ -1481,7 +1476,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Model number of the product. */ - public String getModelNumber(); + String getModelNumber(); /** * Acceptable payment methods for item purchases. @@ -1537,7 +1532,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param paymentAccepted Acceptable payment methods for item purchases. */ - public void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); + void setPaymentAccepted(PaymentTypeEnumeration[] paymentAccepted); /** * Acceptable payment methods for item purchases. @@ -1593,7 +1588,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Acceptable payment methods for item purchases. */ - public PaymentTypeEnumeration[] getPaymentAccepted(); + PaymentTypeEnumeration[] getPaymentAccepted(); /** * Additional instructions to explain a payment policy. @@ -1639,7 +1634,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param paymentNotes Additional instructions to explain a payment policy. */ - public void setPaymentNotes(String paymentNotes); + void setPaymentNotes(String paymentNotes); /** * Additional instructions to explain a payment policy. @@ -1685,7 +1680,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Additional instructions to explain a payment policy. */ - public String getPaymentNotes(); + String getPaymentNotes(); /** * Whether or not an item is available for pick up. @@ -1735,7 +1730,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param pickup Whether or not an item is available for pick up. */ - public void setPickup(Boolean pickup); + void setPickup(Boolean pickup); /** * Whether or not an item is available for pick up. @@ -1785,7 +1780,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Whether or not an item is available for pick up. */ - public Boolean getPickup(); + Boolean getPickup(); /** * Price of the item. @@ -1838,7 +1833,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param price Price of the item. */ - public void setPrice(FloatUnit price); + void setPrice(FloatUnit price); /** * Price of the item. @@ -1891,7 +1886,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Price of the item. */ - public FloatUnit getPrice(); + FloatUnit getPrice(); /** * The type of pricing for the item. @@ -1936,7 +1931,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param priceType The type of pricing for the item. */ - public void setPriceType(PriceTypeEnumeration priceType); + void setPriceType(PriceTypeEnumeration priceType); /** * The type of pricing for the item. @@ -1981,7 +1976,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The type of pricing for the item. */ - public PriceTypeEnumeration getPriceType(); + PriceTypeEnumeration getPriceType(); /** * The processor speed for the product. @@ -2025,7 +2020,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param processorSpeed The processor speed for the product. */ - public void setProcessorSpeed(FloatUnit processorSpeed); + void setProcessorSpeed(FloatUnit processorSpeed); /** * The processor speed for the product. @@ -2069,7 +2064,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The processor speed for the product. */ - public FloatUnit getProcessorSpeed(); + FloatUnit getProcessorSpeed(); /** * The type of product being offered. @@ -2111,7 +2106,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param productTypes The type of product being offered. */ - public void setProductTypes(String[] productTypes); + void setProductTypes(String[] productTypes); /** * The type of product being offered. @@ -2153,7 +2148,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return The type of product being offered. */ - public String[] getProductTypes(); + String[] getProductTypes(); /** * Quantity available. @@ -2207,7 +2202,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param quantity Quantity available. */ - public void setQuantity(Integer quantity); + void setQuantity(Integer quantity); /** * Quantity available. @@ -2261,7 +2256,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Quantity available. */ - public Integer getQuantity(); + Integer getQuantity(); /** * Shipping options available for an item. @@ -2318,7 +2313,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param shipping Shipping options available for an item. */ - public void setShipping(ShippingType[] shipping); + void setShipping(ShippingType[] shipping); /** * Shipping options available for an item. @@ -2375,7 +2370,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Shipping options available for an item. */ - public ShippingType[] getShipping(); + ShippingType[] getShipping(); /** * Dimensions of the item, expressed in either two or three dimensions. @@ -2420,7 +2415,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param size Dimensions of the item, expressed in either two or three dimensions. */ - public void setSize(Size size); + void setSize(Size size); /** * Dimensions of the item, expressed in either two or three dimensions. @@ -2465,7 +2460,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Dimensions of the item, expressed in either two or three dimensions. */ - public Size getSize(); + Size getSize(); /** * Tax rate associated with the event. @@ -2509,7 +2504,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param taxPercent Tax rate associated with the event. */ - public void setTaxPercent(Float taxPercent); + void setTaxPercent(Float taxPercent); /** * Tax rate associated with the event. @@ -2553,7 +2548,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Tax rate associated with the event. */ - public Float getTaxPercent(); + Float getTaxPercent(); /** * Region where tax applies. @@ -2600,7 +2595,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param taxRegion Region where tax applies. */ - public void setTaxRegion(String taxRegion); + void setTaxRegion(String taxRegion); /** * Region where tax applies. @@ -2647,7 +2642,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Region where tax applies. */ - public String getTaxRegion(); + String getTaxRegion(); /** * Product UPC code (Isn't that redundant?). @@ -2693,7 +2688,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param upc Product UPC code (Isn't that redundant?). */ - public void setUpc(String upc); + void setUpc(String upc); /** * Product UPC code (Isn't that redundant?). @@ -2739,7 +2734,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Product UPC code (Isn't that redundant?). */ - public String getUpc(); + String getUpc(); /** * Weight of the item. @@ -2784,7 +2779,7 @@ public interface Product extends GlobalInterface { * </tbody></table> * @param weight Weight of the item. */ - public void setWeight(FloatUnit weight); + void setWeight(FloatUnit weight); /** * Weight of the item. @@ -2829,5 +2824,5 @@ public interface Product extends GlobalInterface { * </tbody></table> * @return Weight of the item. */ - public FloatUnit getWeight(); + FloatUnit getWeight(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Review.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Review.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Review.java index dd0143b..de2aa50 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Review.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/Review.java @@ -40,8 +40,8 @@ package org.rometools.feed.module.base; import org.rometools.feed.module.base.types.FloatUnit; -import java.net.URL; +import java.net.URL; import java.util.Date; @@ -92,7 +92,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param authors Author of the item. */ - public void setAuthors(String[] authors); + void setAuthors(String[] authors); /** * Author of the item. @@ -134,7 +134,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return Author of the item. */ - public String[] getAuthors(); + String[] getAuthors(); /** * Additional instructions to explain the itemâs delivery process. @@ -172,7 +172,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param deliveryNotes Additional instructions to explain the itemâs delivery process. */ - public void setDeliveryNotes(String deliveryNotes); + void setDeliveryNotes(String deliveryNotes); /** * Additional instructions to explain the itemâs delivery process. @@ -210,7 +210,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return Additional instructions to explain the itemâs delivery process. */ - public String getDeliveryNotes(); + String getDeliveryNotes(); /** * The maximum distance you will deliver an item in any direction. @@ -249,7 +249,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param deliveryRadius The maximum distance you will deliver an item in any direction. */ - public void setDeliveryRadius(FloatUnit deliveryRadius); + void setDeliveryRadius(FloatUnit deliveryRadius); /** * The maximum distance you will deliver an item in any direction. @@ -288,7 +288,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return The maximum distance you will deliver an item in any direction. */ - public FloatUnit getDeliveryRadius(); + FloatUnit getDeliveryRadius(); /** * The name of an item being reviewed. @@ -329,7 +329,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param nameOfItemBeingReviewed The name of an item being reviewed. */ - public void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed); + void setNameOfItemBeingReviewed(String nameOfItemBeingReviewed); /** * The name of an item being reviewed. @@ -370,7 +370,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return The name of an item being reviewed. */ - public String getNameOfItemBeingReviewed(); + String getNameOfItemBeingReviewed(); /** * Date the item was published. @@ -415,7 +415,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param publishDate Date the item was published. */ - public void setPublishDate(Date publishDate); + void setPublishDate(Date publishDate); /** * Date the item was published. @@ -460,7 +460,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return Date the item was published. */ - public Date getPublishDate(); + Date getPublishDate(); /** * Rating of the product or service on a scale of 1-5, with 5 as the best. @@ -508,7 +508,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param rating Rating of the product or service on a scale of 1-5, with 5 as the best. */ - public void setRating(Float rating); + void setRating(Float rating); /** * Rating of the product or service on a scale of 1-5, with 5 as the best. @@ -556,7 +556,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return Rating of the product or service on a scale of 1-5, with 5 as the best. */ - public Float getRating(); + Float getRating(); /** * The category of the item being reviewed. @@ -602,7 +602,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param reviewType The category of the item being reviewed. */ - public void setReviewType(String reviewType); + void setReviewType(String reviewType); /** * The category of the item being reviewed. @@ -648,7 +648,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return The category of the item being reviewed. */ - public String getReviewType(); + String getReviewType(); /** * The type of rating being provided: editorial (a @@ -696,7 +696,7 @@ public interface Review extends GlobalInterface { * review written by a member of your staff) or âuserâ ( a review written by a * user of your site). */ - public void setReviewerType(String reviewerType); + void setReviewerType(String reviewerType); /** * The type of rating being provided: editorial (a @@ -744,7 +744,7 @@ public interface Review extends GlobalInterface { * review written by a member of your staff) or âuserâ ( a review written by a * user of your site). */ - public String getReviewerType(); + String getReviewerType(); /** * The web page of an item being reviewed. @@ -788,7 +788,7 @@ public interface Review extends GlobalInterface { * </tbody></table> * @param urlOfItemBeingReviewed The web page of an item being reviewed. */ - public void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed); + void setUrlOfItemBeingReviewed(URL urlOfItemBeingReviewed); /** * The web page of an item being reviewed. @@ -832,5 +832,5 @@ public interface Review extends GlobalInterface { * </tbody></table> * @return The web page of an item being reviewed. */ - public URL getUrlOfItemBeingReviewed(); + URL getUrlOfItemBeingReviewed(); } http://git-wip-us.apache.org/repos/asf/marmotta/blob/37707785/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ScholarlyArticle.java ---------------------------------------------------------------------- diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ScholarlyArticle.java b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ScholarlyArticle.java index 4e2549a..281b3fb 100644 --- a/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ScholarlyArticle.java +++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/src/ext/java/org/rometools/feed/module/base/ScholarlyArticle.java @@ -88,7 +88,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @param authors Array of Author Names. Limit 10. */ - public void setAuthors(String[] authors); + void setAuthors(String[] authors); /** * Array of Author Names. Limit 10. @@ -128,7 +128,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @return Array of author names. */ - public String[] getAuthors(); + String[] getAuthors(); /** * Number of pages in the article. @@ -172,7 +172,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @param pages Number of pages in the article */ - public void setPages(Integer pages); + void setPages(Integer pages); /** * Number of pages in the article. @@ -216,7 +216,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @return Number of pages in the article */ - public Integer getPages(); + Integer getPages(); /** * Name of the publication. @@ -260,7 +260,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @param publicationName Name of the publication. */ - public void setPublicationName(String publicationName); + void setPublicationName(String publicationName); /** * Name of the publication. @@ -304,7 +304,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @return Name of the publication. */ - public String getPublicationName(); + String getPublicationName(); /** * Volume of the publication. @@ -346,7 +346,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @param publicationVolume Volume of the publication. */ - public void setPublicationVolume(String publicationVolume); + void setPublicationVolume(String publicationVolume); /** * Volume of the publication. @@ -388,7 +388,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @return Volume of the publication. */ - public String getPublicationVolume(); + String getPublicationVolume(); /** * Date article was published. @@ -433,7 +433,7 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @param publishDate Date article was published */ - public void setPublishDate(Date publishDate); + void setPublishDate(Date publishDate); /** * Date article was published. @@ -478,5 +478,5 @@ public interface ScholarlyArticle extends GlobalInterface { * </tbody></table> * @return Date article was published */ - public Date getPublishDate(); + Date getPublishDate(); }
