Package org.cyclos.model
Class NamedEntityVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,INamedEntity
- Direct Known Subclasses:
AccessClientVO,AccountFeeLogVO,AdDeliveryMethodVO,AdInterestVO,BaseContactInfoVO,BasicAdVO,ConfigurationEntityVO,ContentItemVO,CustomSvgIconVO,DocumentVO,ExtensionPointVO,ImportedFieldVO,InitialGroupVO,LinkedEntityVO,MobilePageVO,OperatorGroupVO,PhoneVO,PinVO,ProfilingSessionVO,StoredFileVO,SystemReportPreferencesVO,ThemeVO,TransferFeePreviewVO,TrustedDeviceVO
public abstract class NamedEntityVO extends EntityVO implements Comparable<NamedEntityVO>, INamedEntity
Base class for all read only views of a entity which contains aPropertyrepresenting its name. It implementsComparableby name.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Property<String,NamedEntityVO>NAME-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description NamedEntityVO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NamedEntityVO o)protected List<Property<?,?>>doGetProperties()StringgetName()voidsetName(String name)StringtoString()-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, className, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
NAME
public static final Property<String,NamedEntityVO> NAME
-
-
Method Detail
-
compareTo
public int compareTo(NamedEntityVO o)
- Specified by:
compareToin interfaceComparable<NamedEntityVO>
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceINamedEntity
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
-