Package org.cyclos.model
Class VersionedVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.VersionedVO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
TranslatableVersionedVO,UIElementResultVO
public class VersionedVO extends EntityVO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<Boolean,VersionedVO>FORCEstatic BasicProperty<Integer,VersionedVO>VERSION-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description VersionedVO()VersionedVO(Long id)VersionedVO(Property<T,? super VersionedVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()BooleangetForce()IntegergetVersion()voidsetForce(Boolean force)voidsetVersion(Integer version)-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId, toString
-
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
-
FORCE
public static final BasicProperty<Boolean,VersionedVO> FORCE
-
VERSION
public static final BasicProperty<Integer,VersionedVO> VERSION
-
-
Constructor Detail
-
VersionedVO
public VersionedVO()
-
VersionedVO
public VersionedVO(Long id)
-
VersionedVO
public VersionedVO(Property<T,? super VersionedVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getForce
public Boolean getForce()
-
setForce
public void setForce(Boolean force)
-
getVersion
public Integer getVersion()
-
setVersion
public void setVersion(Integer version)
-
-