Class BaseContactInfoDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityDTO
-
- org.cyclos.model.users.contactinfos.BaseContactInfoDTO
-
- All Implemented Interfaces:
Serializable,IEntity,ModelWithCustomValues<CustomFieldValueDTO>,IContactInfo
- Direct Known Subclasses:
AddressContactInfoDTO,ContactInfoDTO
public abstract class BaseContactInfoDTO extends EntityDTO implements ModelWithCustomValues<CustomFieldValueDTO>, IContactInfo
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic ListProperty<CustomFieldValueDTO,BaseContactInfoDTO>CUSTOM_VALUESstatic BasicProperty<String,BaseContactInfoDTO>EMAILstatic BasicProperty<String,BaseContactInfoDTO>LAND_LINE_EXTENSIONstatic BasicProperty<String,BaseContactInfoDTO>LAND_LINE_PHONEstatic BasicProperty<String,BaseContactInfoDTO>MOBILE_PHONE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BaseContactInfoDTO()BaseContactInfoDTO(Long id)BaseContactInfoDTO(Property<T,? super BaseContactInfoDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Property<?,?>>doGetProperties()List<CustomFieldValueDTO>getCustomValues()StringgetEmail()StringgetLandLineExtension()StringgetLandLinePhone()StringgetMobilePhone()voidsetCustomValues(List<CustomFieldValueDTO> customValues)voidsetEmail(String email)voidsetLandLineExtension(String landLineExtension)voidsetLandLinePhone(String landLinePhone)voidsetMobilePhone(String mobilePhone)-
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, 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
-
CUSTOM_VALUES
public static final ListProperty<CustomFieldValueDTO,BaseContactInfoDTO> CUSTOM_VALUES
-
EMAIL
public static final BasicProperty<String,BaseContactInfoDTO> EMAIL
-
LAND_LINE_EXTENSION
public static final BasicProperty<String,BaseContactInfoDTO> LAND_LINE_EXTENSION
-
LAND_LINE_PHONE
public static final BasicProperty<String,BaseContactInfoDTO> LAND_LINE_PHONE
-
MOBILE_PHONE
public static final BasicProperty<String,BaseContactInfoDTO> MOBILE_PHONE
-
-
Constructor Detail
-
BaseContactInfoDTO
public BaseContactInfoDTO()
-
BaseContactInfoDTO
public BaseContactInfoDTO(Long id)
-
BaseContactInfoDTO
public BaseContactInfoDTO(Property<T,? super BaseContactInfoDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityDTO
-
getCustomValues
public List<CustomFieldValueDTO> getCustomValues()
- Specified by:
getCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
setCustomValues
public void setCustomValues(List<CustomFieldValueDTO> customValues)
- Specified by:
setCustomValuesin interfaceModelWithCustomValues<CustomFieldValueDTO>
-
getEmail
public String getEmail()
- Specified by:
getEmailin interfaceIContactInfo
-
setEmail
public void setEmail(String email)
- Specified by:
setEmailin interfaceIContactInfo
-
getLandLineExtension
public String getLandLineExtension()
- Specified by:
getLandLineExtensionin interfaceIContactInfo
-
setLandLineExtension
public void setLandLineExtension(String landLineExtension)
- Specified by:
setLandLineExtensionin interfaceIContactInfo
-
getLandLinePhone
public String getLandLinePhone()
- Specified by:
getLandLinePhonein interfaceIContactInfo
-
setLandLinePhone
public void setLandLinePhone(String landLinePhone)
- Specified by:
setLandLinePhonein interfaceIContactInfo
-
getMobilePhone
public String getMobilePhone()
- Specified by:
getMobilePhonein interfaceIContactInfo
-
setMobilePhone
public void setMobilePhone(String mobilePhone)
- Specified by:
setMobilePhonein interfaceIContactInfo
-
-