Package org.cyclos.model.users.records
Class RecordDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.records.RecordDTO
-
- All Implemented Interfaces:
Serializable,IEntity,ModelWithCustomValues<CustomFieldValueDTO>
- Direct Known Subclasses:
SystemRecordDTO,UserRecordDTO
public abstract class RecordDTO extends EntityDTO implements ModelWithCustomValues<CustomFieldValueDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<UserVO,RecordDTO>CREATED_BYstatic BasicProperty<DateTime,RecordDTO>CREATION_DATEstatic ListProperty<CustomFieldValueDTO,RecordDTO>CUSTOM_VALUESstatic BasicProperty<DateTime,RecordDTO>LAST_MODIFIED_DATEstatic BasicProperty<UserVO,RecordDTO>MODIFIED_BYstatic BasicProperty<RecordTypeDetailedVO,RecordDTO>TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()UserVOgetCreatedBy()DateTimegetCreationDate()List<CustomFieldValueDTO>getCustomValues()DateTimegetLastModifiedDate()UserVOgetModifiedBy()RecordTypeDetailedVOgetType()voidsetCreatedBy(UserVO createdBy)voidsetCreationDate(DateTime creationDate)voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetLastModifiedDate(DateTime lastModifiedDate)voidsetModifiedBy(UserVO modifiedBy)voidsetType(RecordTypeDetailedVO type)StringtoString()-
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, className, 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
-
CREATED_BY
public static final BasicProperty<UserVO,RecordDTO> CREATED_BY
-
CREATION_DATE
public static final BasicProperty<DateTime,RecordDTO> CREATION_DATE
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,RecordDTO> CUSTOM_VALUES
-
LAST_MODIFIED_DATE
public static final BasicProperty<DateTime,RecordDTO> LAST_MODIFIED_DATE
-
MODIFIED_BY
public static final BasicProperty<UserVO,RecordDTO> MODIFIED_BY
-
TYPE
public static final BasicProperty<RecordTypeDetailedVO,RecordDTO> TYPE
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getCreatedBy
public UserVO getCreatedBy()
-
setCreatedBy
public void setCreatedBy(UserVO createdBy)
-
getCreationDate
public DateTime getCreationDate()
-
setCreationDate
public void setCreationDate(DateTime creationDate)
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
- Specified by:
getCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
- Specified by:
setCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
getLastModifiedDate
public DateTime getLastModifiedDate()
-
setLastModifiedDate
public void setLastModifiedDate(DateTime lastModifiedDate)
-
getModifiedBy
public UserVO getModifiedBy()
-
setModifiedBy
public void setModifiedBy(UserVO modifiedBy)
-
getType
public RecordTypeDetailedVO getType()
-
setType
public void setType(RecordTypeDetailedVO type)
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
-