public class ContactDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: All kinds of technology mediated contact details for a person or organization, including telephone, email, etc.
Requirements: Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.
| Constructor and Description |
|---|
ContactDt()
Constructor
|
ContactDt(ContactUseEnum theContactUse,
String theValue)
Constructor
|
ContactDt(String theValue)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
PeriodDt |
getPeriod()
Gets the value(s) for period (Time period when the contact was/is in use).
|
BoundCodeDt<ContactSystemEnum> |
getSystem()
Gets the value(s) for system (phone | fax | email | url).
|
BoundCodeDt<ContactUseEnum> |
getUse()
Gets the value(s) for use (home | work | temp | old | mobile - purpose of this address).
|
StringDt |
getValue()
Gets the value(s) for value (The actual contact details).
|
boolean |
isEmpty() |
ContactDt |
setPeriod(PeriodDt theValue)
Sets the value(s) for period (Time period when the contact was/is in use)
|
ContactDt |
setSystem(BoundCodeDt<ContactSystemEnum> theValue)
Sets the value(s) for system (phone | fax | email | url)
|
ContactDt |
setSystem(ContactSystemEnum theValue)
Sets the value(s) for system (phone | fax | email | url)
|
ContactDt |
setUse(BoundCodeDt<ContactUseEnum> theValue)
Sets the value(s) for use (home | work | temp | old | mobile - purpose of this address)
|
ContactDt |
setUse(ContactUseEnum theValue)
Sets the value(s) for use (home | work | temp | old | mobile - purpose of this address)
|
ContactDt |
setValue(String theString)
Sets the value for value (The actual contact details)
|
ContactDt |
setValue(StringDt theValue)
Sets the value(s) for value (The actual contact details)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic ContactDt()
public ContactDt(String theValue)
public ContactDt(ContactUseEnum theContactUse, String theValue)
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<ContactSystemEnum> getSystem()
null.
Definition: Telecommunications form for contact - what communications system is required to make use of the contact
public ContactDt setSystem(BoundCodeDt<ContactSystemEnum> theValue)
Definition: Telecommunications form for contact - what communications system is required to make use of the contact
public ContactDt setSystem(ContactSystemEnum theValue)
Definition: Telecommunications form for contact - what communications system is required to make use of the contact
public StringDt getValue()
null.
Definition: The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
public ContactDt setValue(StringDt theValue)
Definition: The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
public ContactDt setValue(String theString)
Definition: The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).
public BoundCodeDt<ContactUseEnum> getUse()
null.
Definition: Identifies the purpose for the address
public ContactDt setUse(BoundCodeDt<ContactUseEnum> theValue)
Definition: Identifies the purpose for the address
public ContactDt setUse(ContactUseEnum theValue)
Definition: Identifies the purpose for the address
public PeriodDt getPeriod()
null.
Definition: Time period when the contact was/is in use
Copyright © 2014 University Health Network. All rights reserved.