Package pt.cienciavitae.ns.email
Class Email
- java.lang.Object
-
- pt.cienciavitae.ns.common.RecordCtype
-
- pt.cienciavitae.ns.email.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringemailAddressprotected ContactTypeCtypeemailTypeprotected BooleanpreferredEmail-
Fields inherited from class pt.cienciavitae.ns.common.RecordCtype
id, lastModifiedDate, privacyLevel, sourceName
-
-
Constructor Summary
Constructors Constructor Description Email()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmailAddress()Gets the value of the emailAddress property.ContactTypeCtypegetEmailType()Gets the value of the emailType property.booleanisPreferredEmail()Gets the value of the preferredEmail property.voidsetEmailAddress(String value)Sets the value of the emailAddress property.voidsetEmailType(ContactTypeCtype value)Sets the value of the emailType property.voidsetPreferredEmail(Boolean value)Sets the value of the preferredEmail property.-
Methods inherited from class pt.cienciavitae.ns.common.RecordCtype
getId, getLastModifiedDate, getPrivacyLevel, getSourceName, setId, setLastModifiedDate, setPrivacyLevel, setSourceName
-
-
-
-
Field Detail
-
emailType
protected ContactTypeCtype emailType
-
emailAddress
protected String emailAddress
-
preferredEmail
protected Boolean preferredEmail
-
-
Method Detail
-
getEmailType
public ContactTypeCtype getEmailType()
Gets the value of the emailType property.- Returns:
- possible object is
ContactTypeCtype
-
setEmailType
public void setEmailType(ContactTypeCtype value)
Sets the value of the emailType property.- Parameters:
value- allowed object isContactTypeCtype
-
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 isString
-
isPreferredEmail
public boolean isPreferredEmail()
Gets the value of the preferredEmail property.- Returns:
- possible object is
Boolean
-
-