Package org.cyclos.model
Class EntityModel
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- All Implemented Interfaces:
Serializable,IEntity
public abstract class EntityModel extends Bean implements IEntity
Base class for entity DTOs or VOs. They areBeans used to communicate between the service layer and upper layers (like presentation)- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Long,EntityModel>ID
-
Constructor Summary
Constructors Constructor Description EntityModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()booleanequals(Object obj)LonggetId()inthashCode()voidsetId(Long id)StringtoString()-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, className, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
ID
public static final BasicProperty<Long,EntityModel> ID
-
-
Method Detail
-
setId
public void setId(Long id)
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
-