Package org.cyclos.model.utils
Class QuickAccessDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.utils.QuickAccessDTO
-
- All Implemented Interfaces:
Serializable,IEntity
- Direct Known Subclasses:
UserQuickAccessDTO
public class QuickAccessDTO extends EntityDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<ConfigurationEntityVO,QuickAccessDTO>ENTITYstatic BasicProperty<QuickAccessType,QuickAccessDTO>TYPE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description QuickAccessDTO()QuickAccessDTO(Long id)QuickAccessDTO(Property<T,? super QuickAccessDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()booleanequals(Object other)ConfigurationEntityVOgetEntity()QuickAccessTypegetType()inthashCode()voidsetEntity(ConfigurationEntityVO entity)voidsetType(QuickAccessType type)StringtoString()-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
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
-
ENTITY
public static final BasicProperty<ConfigurationEntityVO,QuickAccessDTO> ENTITY
-
TYPE
public static final BasicProperty<QuickAccessType,QuickAccessDTO> TYPE
-
-
Constructor Detail
-
QuickAccessDTO
public QuickAccessDTO()
-
QuickAccessDTO
public QuickAccessDTO(Long id)
-
QuickAccessDTO
public QuickAccessDTO(Property<T,? super QuickAccessDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getEntity
public ConfigurationEntityVO getEntity()
-
setEntity
public void setEntity(ConfigurationEntityVO entity)
-
getType
public QuickAccessType getType()
-
setType
public void setType(QuickAccessType type)
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classEntityModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classEntityModel
-
-