Class Email


  • public class Email
    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="email-type" type="{http://www.cienciavitae.pt/ns/common}contact-type-ctype"/>
             <element name="email-address" type="{http://www.cienciavitae.pt/ns/common}string-email-stype"/>
           </sequence>
           <attribute name="preferred-email" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Email

        public Email()
    • Method Detail

      • setEmailType

        public void setEmailType​(ContactTypeCtype value)
        Sets the value of the emailType property.
        Parameters:
        value - allowed object is ContactTypeCtype
      • getEmailAddress

        public String getEmailAddress()
        Gets the value of the emailAddress property.
        Returns:
        possible object is String
      • setEmailAddress

        public void setEmailAddress​(String value)
        Sets the value of the emailAddress property.
        Parameters:
        value - allowed object is String
      • isPreferredEmail

        public boolean isPreferredEmail()
        Gets the value of the preferredEmail property.
        Returns:
        possible object is Boolean
      • setPreferredEmail

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