Class ContactInfoVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.users.contactinfos.BaseContactInfoVO
-
- org.cyclos.model.users.contactinfos.ContactInfoVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,INamedEntity,IContactInfo,IRegularContactInfo
- Direct Known Subclasses:
ContactInfoDetailedVO
public class ContactInfoVO extends BaseContactInfoVO implements IRegularContactInfo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<UserAddressVO,ContactInfoVO>ADDRESSstatic StringCLASS_NAMEstatic ListProperty<RunnableCustomOperationVO,ContactInfoVO>CUSTOM_OPERATIONSstatic BasicProperty<Boolean,ContactInfoVO>HIDDENstatic BasicProperty<ImageVO,ContactInfoVO>IMAGE-
Fields inherited from class org.cyclos.model.users.contactinfos.BaseContactInfoVO
CUSTOM_VALUES, EMAIL, LAND_LINE_EXTENSION, LAND_LINE_PHONE, MOBILE_PHONE, NORMALIZED_LAND_LINE_PHONE, NORMALIZED_MOBILE_PHONE
-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description ContactInfoVO()ContactInfoVO(Long id)ContactInfoVO(Property<T,? super ContactInfoVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()UserAddressVOgetAddress()List<RunnableCustomOperationVO>getCustomOperations()ImageVOgetImage()booleanisHidden()voidsetAddress(UserAddressVO address)voidsetCustomOperations(List<RunnableCustomOperationVO> customOperations)voidsetHidden(boolean hidden)voidsetImage(ImageVO image)-
Methods inherited from class org.cyclos.model.users.contactinfos.BaseContactInfoVO
getCustomValues, getEmail, getLandLineExtension, getLandLinePhone, getMobilePhone, getNormalizedLandLinePhone, getNormalizedMobilePhone, setCustomValues, setEmail, setLandLineExtension, setLandLinePhone, setMobilePhone, setNormalizedLandLinePhone, setNormalizedMobilePhone
-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
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
-
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
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ADDRESS
public static final BasicProperty<UserAddressVO,ContactInfoVO> ADDRESS
-
CUSTOM_OPERATIONS
public static final ListProperty<RunnableCustomOperationVO,ContactInfoVO> CUSTOM_OPERATIONS
-
HIDDEN
public static final BasicProperty<Boolean,ContactInfoVO> HIDDEN
-
IMAGE
public static final BasicProperty<ImageVO,ContactInfoVO> IMAGE
-
-
Constructor Detail
-
ContactInfoVO
public ContactInfoVO()
-
ContactInfoVO
public ContactInfoVO(Long id)
-
ContactInfoVO
public ContactInfoVO(Property<T,? super ContactInfoVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBaseContactInfoVO
-
getAddress
public UserAddressVO getAddress()
-
setAddress
public void setAddress(UserAddressVO address)
-
getCustomOperations
public List<RunnableCustomOperationVO> getCustomOperations()
-
setCustomOperations
public void setCustomOperations(List<RunnableCustomOperationVO> customOperations)
-
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)
-
className
public String className()
- Overrides:
classNamein classBaseContactInfoVO
-
-