Class AdInterestDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.marketplace.interests.AdInterestDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,IEntity,INamedEntity
public class AdInterestDTO extends NamedEntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<AdType,AdInterestDTO>AD_TYPEstatic BasicProperty<AdCategoryVO,AdInterestDTO>CATEGORYstatic StringCLASS_NAMEstatic SetProperty<String,AdInterestDTO>KEYWORDSstatic BasicProperty<UserVO,AdInterestDTO>OWNERstatic BasicProperty<CurrencyAmountRangeDTO,AdInterestDTO>PRICE_RANGEstatic BasicProperty<UserVO,AdInterestDTO>USER-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AdInterestDTO()AdInterestDTO(Long id)AdInterestDTO(Property<T,? super AdInterestDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()AdTypegetAdType()AdCategoryVOgetCategory()Set<String>getKeywords()UserVOgetOwner()CurrencyAmountRangeDTOgetPriceRange()UserVOgetUser()voidsetAdType(AdType adType)voidsetCategory(AdCategoryVO category)voidsetKeywords(Set<String> keywords)voidsetOwner(UserVO owner)voidsetPriceRange(CurrencyAmountRangeDTO priceRange)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
equals, getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
AD_TYPE
public static final BasicProperty<AdType,AdInterestDTO> AD_TYPE
-
CATEGORY
public static final BasicProperty<AdCategoryVO,AdInterestDTO> CATEGORY
-
KEYWORDS
public static final SetProperty<String,AdInterestDTO> KEYWORDS
-
OWNER
public static final BasicProperty<UserVO,AdInterestDTO> OWNER
-
PRICE_RANGE
public static final BasicProperty<CurrencyAmountRangeDTO,AdInterestDTO> PRICE_RANGE
-
USER
public static final BasicProperty<UserVO,AdInterestDTO> USER
-
-
Constructor Detail
-
AdInterestDTO
public AdInterestDTO()
-
AdInterestDTO
public AdInterestDTO(Long id)
-
AdInterestDTO
public AdInterestDTO(Property<T,? super AdInterestDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
getAdType
public AdType getAdType()
-
setAdType
public void setAdType(AdType adType)
-
getCategory
public AdCategoryVO getCategory()
-
setCategory
public void setCategory(AdCategoryVO category)
-
getOwner
public UserVO getOwner()
-
setOwner
public void setOwner(UserVO owner)
-
getPriceRange
public CurrencyAmountRangeDTO getPriceRange()
-
setPriceRange
public void setPriceRange(CurrencyAmountRangeDTO priceRange)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-