Package pt.cienciavitae.ns.phone_number
Class PhoneNumber
- java.lang.Object
-
- pt.cienciavitae.ns.common.RecordCtype
-
- pt.cienciavitae.ns.phone_number.PhoneNumber
-
public class PhoneNumber extends RecordCtype
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.cienciavitae.pt/ns/common}record-ctype"> <sequence> <element name="usage-type" type="{http://www.cienciavitae.pt/ns/common}contact-type-ctype"/> <element name="phone-type" type="{http://www.cienciavitae.pt/ns/phone-number}phone-type-ctype"/> <element name="country-code" type="{http://www.cienciavitae.pt/ns/common}string-10-stype" minOccurs="0"/> <element name="local-number" type="{http://www.cienciavitae.pt/ns/common}string-10-stype"/> <element name="extension" type="{http://www.cienciavitae.pt/ns/common}string-10-stype" minOccurs="0"/> </sequence> <attribute name="preferred-phone-number" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcountryCodeprotected Stringextensionprotected StringlocalNumberprotected PhoneTypeCtypephoneTypeprotected BooleanpreferredPhoneNumberprotected ContactTypeCtypeusageType-
Fields inherited from class pt.cienciavitae.ns.common.RecordCtype
id, lastModifiedDate, privacyLevel, sourceName
-
-
Constructor Summary
Constructors Constructor Description PhoneNumber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCountryCode()Gets the value of the countryCode property.StringgetExtension()Gets the value of the extension property.StringgetLocalNumber()Gets the value of the localNumber property.PhoneTypeCtypegetPhoneType()Gets the value of the phoneType property.ContactTypeCtypegetUsageType()Gets the value of the usageType property.booleanisPreferredPhoneNumber()Gets the value of the preferredPhoneNumber property.voidsetCountryCode(String value)Sets the value of the countryCode property.voidsetExtension(String value)Sets the value of the extension property.voidsetLocalNumber(String value)Sets the value of the localNumber property.voidsetPhoneType(PhoneTypeCtype value)Sets the value of the phoneType property.voidsetPreferredPhoneNumber(Boolean value)Sets the value of the preferredPhoneNumber property.voidsetUsageType(ContactTypeCtype value)Sets the value of the usageType property.-
Methods inherited from class pt.cienciavitae.ns.common.RecordCtype
getId, getLastModifiedDate, getPrivacyLevel, getSourceName, setId, setLastModifiedDate, setPrivacyLevel, setSourceName
-
-
-
-
Field Detail
-
usageType
protected ContactTypeCtype usageType
-
phoneType
protected PhoneTypeCtype phoneType
-
countryCode
protected String countryCode
-
localNumber
protected String localNumber
-
extension
protected String extension
-
preferredPhoneNumber
protected Boolean preferredPhoneNumber
-
-
Method Detail
-
getUsageType
public ContactTypeCtype getUsageType()
Gets the value of the usageType property.- Returns:
- possible object is
ContactTypeCtype
-
setUsageType
public void setUsageType(ContactTypeCtype value)
Sets the value of the usageType property.- Parameters:
value- allowed object isContactTypeCtype
-
getPhoneType
public PhoneTypeCtype getPhoneType()
Gets the value of the phoneType property.- Returns:
- possible object is
PhoneTypeCtype
-
setPhoneType
public void setPhoneType(PhoneTypeCtype value)
Sets the value of the phoneType property.- Parameters:
value- allowed object isPhoneTypeCtype
-
getCountryCode
public String getCountryCode()
Gets the value of the countryCode property.- Returns:
- possible object is
String
-
setCountryCode
public void setCountryCode(String value)
Sets the value of the countryCode property.- Parameters:
value- allowed object isString
-
getLocalNumber
public String getLocalNumber()
Gets the value of the localNumber property.- Returns:
- possible object is
String
-
setLocalNumber
public void setLocalNumber(String value)
Sets the value of the localNumber property.- Parameters:
value- allowed object isString
-
getExtension
public String getExtension()
Gets the value of the extension property.- Returns:
- possible object is
String
-
setExtension
public void setExtension(String value)
Sets the value of the extension property.- Parameters:
value- allowed object isString
-
isPreferredPhoneNumber
public boolean isPreferredPhoneNumber()
Gets the value of the preferredPhoneNumber property.- Returns:
- possible object is
Boolean
-
-