Package org.cyclos.model.users.users
Class BasicUserDTO
- 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
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityDTO>,AccountOwner,InternalAccountOwner,IEntity,INamedEntity,IUser
- Direct Known Subclasses:
OperatorDTO,UserDTO
public abstract class BasicUserDTO extends NamedEntityDTO implements IUser
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,BasicUserDTO>EMAILstatic BasicProperty<String,BasicUserDTO>USERNAME-
Fields inherited from class org.cyclos.model.NamedEntityDTO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BasicUserDTO()BasicUserDTO(Long id)BasicUserDTO(Property<T,? super BasicUserDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()StringgetEmail()StringgetUsername()voidsetEmail(String email)voidsetUsername(String username)StringtoString()-
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, 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
-
EMAIL
public static final BasicProperty<String,BasicUserDTO> EMAIL
-
USERNAME
public static final BasicProperty<String,BasicUserDTO> USERNAME
-
-
Constructor Detail
-
BasicUserDTO
public BasicUserDTO()
-
BasicUserDTO
public BasicUserDTO(Long id)
-
BasicUserDTO
public BasicUserDTO(Property<T,? super BasicUserDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classNamedEntityDTO
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
-
toString
public String toString()
- Overrides:
toStringin classNamedEntityDTO
-
-