Package org.cyclos.model.users.operators
Class OperatorDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.NamedEntityDTO
-
- org.cyclos.model.users.users.BasicUserDTO
-
- org.cyclos.model.users.operators.OperatorDTO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,AccountOwner,InternalAccountOwner,IEntity,INamedEntity,IUser
- Direct Known Subclasses:
OperatorRegistrationDTO
public class OperatorDTO extends BasicUserDTO
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CustomFieldValueDTO,OperatorDTO>CUSTOM_VALUESstatic BasicProperty<UserVO,OperatorDTO>USER-
Fields inherited from class org.cyclos.model.users.users.BasicUserDTO
EMAIL, USERNAME
-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description OperatorDTO()OperatorDTO(Long id)OperatorDTO(Property<T,? super OperatorDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<CustomFieldValueDTO>getCustomValues()UserVOgetUser()voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.users.users.BasicUserDTO
getEmail, getUsername, setEmail, setUsername, toString
-
Methods inherited from class org.cyclos.model.NamedEntityDTO
compareTo, getName, setName
-
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, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,OperatorDTO> CUSTOM_VALUES
-
USER
public static final BasicProperty<UserVO,OperatorDTO> USER
-
-
Constructor Detail
-
OperatorDTO
public OperatorDTO()
-
OperatorDTO
public OperatorDTO(Long id)
-
OperatorDTO
public OperatorDTO(Property<T,? super OperatorDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBasicUserDTO
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-