Class 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>
     
    • Constructor Detail

      • PhoneNumber

        public PhoneNumber()
    • Method Detail

      • setUsageType

        public void setUsageType​(ContactTypeCtype value)
        Sets the value of the usageType property.
        Parameters:
        value - allowed object is ContactTypeCtype
      • setPhoneType

        public void setPhoneType​(PhoneTypeCtype value)
        Sets the value of the phoneType property.
        Parameters:
        value - allowed object is PhoneTypeCtype
      • 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 is String
      • 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 is String
      • 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 is String
      • isPreferredPhoneNumber

        public boolean isPreferredPhoneNumber()
        Gets the value of the preferredPhoneNumber property.
        Returns:
        possible object is Boolean
      • setPreferredPhoneNumber

        public void setPreferredPhoneNumber​(Boolean value)
        Sets the value of the preferredPhoneNumber property.
        Parameters:
        value - allowed object is Boolean