Package org.cyclos.model
Class EntityDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
AbstractProductContactFieldDTO,AbstractProductNotificationDTO,AbstractProductProfileFieldDTO,AccountNotificationSettingsDTO,AddressDTO,AdminProductAuthorizationRoleDTO,AuthorizationLevelDTO,BaseContactInfoDTO,BaseStaticContentDTO,BaseValueForSearchDTO,BulkActionDTO,ChannelConfigurationDTO,ConfigurationGuestProfileFieldDTO,ContactDTO,CustomFieldPossibleValueDTO,CustomFieldValueDTO,CustomOperationActionDTO,CustomOperationActionParameterDTO,DRateCreationValueForTransferTypeDTO,ImportedFileDTO,ImportedLineDTO,IpAddressDTO,MemberProductCustomOperationDTO,MemberProductCustomWizardDTO,NamedEntityDTO,NotificationSettingsDTO,NotificationTypeSettingsDTO,OperatorGroupAccountTypeDTO,OperatorGroupPaymentTypeDTO,OrderDTO,OrderProductDTO,ProductAccessClientDTO,ProductAdFieldDTO,ProductManagementDTO,ProductPasswordActionDTO,ProductRecordFieldDTO,ProductRecordTypeDTO,ProductTokenTypeDTO,ProductTransferStatusFlowDTO,ProductVoucherDTO,QuickAccessDTO,RateParametersDTO,RecordDTO,RecurringPaymentDTO,ReferenceDTO,SystemCustomImageDTO,TokenDTO
public abstract class EntityDTO extends EntityModel
The EntityDTO is an editable representation of an entity- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Integer,EntityDTO>VERSION-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description EntityDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()IntegergetVersion()booleanisPersistent()Checks if this entity DTO has a non-null identifierbooleanisTransient()Checks if this entity DTO has a null identifiervoidsetVersion(Integer version)-
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
-
VERSION
public static final BasicProperty<Integer,EntityDTO> VERSION
-
-
Method Detail
-
getVersion
public Integer getVersion()
-
isPersistent
public boolean isPersistent()
Checks if this entity DTO has a non-null identifier
-
isTransient
public boolean isTransient()
Checks if this entity DTO has a null identifier
-
setVersion
public void setVersion(Integer version)
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
-