Class ContactInfoDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.contactinfos.BaseContactInfoDTO
-
- org.cyclos.model.users.contactinfos.ContactInfoDTO
-
- All Implemented Interfaces:
Serializable,IEntity,INamedEntity,ModelWithCustomValues<CustomFieldValueDTO>,IContactInfo,IRegularContactInfo
public class ContactInfoDTO extends BaseContactInfoDTO implements IRegularContactInfo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<UserAddressVO,ContactInfoDTO>ADDRESSstatic StringCLASS_NAMEstatic BasicProperty<Boolean,ContactInfoDTO>HIDDENstatic BasicProperty<ImageVO,ContactInfoDTO>IMAGEstatic BasicProperty<String,ContactInfoDTO>NAMEstatic BasicProperty<UserVO,ContactInfoDTO>USER-
Fields inherited from class org.cyclos.model.users.contactinfos.BaseContactInfoDTO
CUSTOM_VALUES, EMAIL, LAND_LINE_EXTENSION, LAND_LINE_PHONE, MOBILE_PHONE
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ContactInfoDTO()ContactInfoDTO(Long id)ContactInfoDTO(Property<T,? super ContactInfoDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()UserAddressVOgetAddress()ImageVOgetImage()StringgetName()UserVOgetUser()booleanisHidden()voidsetAddress(UserAddressVO address)voidsetHidden(boolean hidden)voidsetImage(ImageVO image)voidsetName(String name)voidsetUser(UserVO user)-
Methods inherited from class org.cyclos.model.users.contactinfos.BaseContactInfoDTO
getCustomValues, getEmail, getLandLineExtension, getLandLinePhone, getMobilePhone, setCustomValues, setEmail, setLandLineExtension, setLandLinePhone, setMobilePhone
-
Methods inherited from class org.cyclos.model.EntityDTO
getVersion, isPersistent, isTransient, setVersion
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.users.contactinfos.IContactInfo
getEmail, getLandLineExtension, getLandLinePhone, getMobilePhone, setEmail, setLandLineExtension, setLandLinePhone, setMobilePhone
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ADDRESS
public static final BasicProperty<UserAddressVO,ContactInfoDTO> ADDRESS
-
HIDDEN
public static final BasicProperty<Boolean,ContactInfoDTO> HIDDEN
-
IMAGE
public static final BasicProperty<ImageVO,ContactInfoDTO> IMAGE
-
NAME
public static final BasicProperty<String,ContactInfoDTO> NAME
-
USER
public static final BasicProperty<UserVO,ContactInfoDTO> USER
-
-
Constructor Detail
-
ContactInfoDTO
public ContactInfoDTO()
-
ContactInfoDTO
public ContactInfoDTO(Long id)
-
ContactInfoDTO
public ContactInfoDTO(Property<T,? super ContactInfoDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseContactInfoDTO
-
getAddress
public UserAddressVO getAddress()
-
setAddress
public void setAddress(UserAddressVO address)
-
isHidden
public boolean isHidden()
- Specified by:
isHiddenin interfaceIRegularContactInfo
-
setHidden
public void setHidden(boolean hidden)
- Specified by:
setHiddenin interfaceIRegularContactInfo
-
getImage
public ImageVO getImage()
-
setImage
public void setImage(ImageVO image)
-
getName
public String getName()
- Specified by:
getNamein interfaceINamedEntity
-
setName
public void setName(String name)
- Specified by:
setNamein interfaceINamedEntity
-
getUser
public UserVO getUser()
-
setUser
public void setUser(UserVO user)
-
-