Class AdInterestVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.marketplace.interests.AdInterestVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,INamedEntity
public class AdInterestVO extends NamedEntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<AdCategoryVO,AdInterestVO>CATEGORYstatic StringCLASS_NAMEstatic SetProperty<String,AdInterestVO>KEYWORDSstatic BasicProperty<UserVO,AdInterestVO>USER-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description AdInterestVO()AdInterestVO(Long id)AdInterestVO(Property<T,? super AdInterestVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()AdCategoryVOgetCategory()Set<String>getKeywords()UserVOgetUser()voidsetCategory(AdCategoryVO category)voidsetKeywords(Set<String> keywords)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, 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
-
CATEGORY
public static final BasicProperty<AdCategoryVO,AdInterestVO> CATEGORY
-
KEYWORDS
public static final SetProperty<String,AdInterestVO> KEYWORDS
-
USER
public static final BasicProperty<UserVO,AdInterestVO> USER
-
-
Constructor Detail
-
AdInterestVO
public AdInterestVO()
-
AdInterestVO
public AdInterestVO(Long id)
-
AdInterestVO
public AdInterestVO(Property<T,? super AdInterestVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityVO
-
getCategory
public AdCategoryVO getCategory()
-
setCategory
public void setCategory(AdCategoryVO category)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-