public class EMail extends Object
Element of Contact
, Organisation
, Role
Example:
<EMail> <Preferred cls="U">Yes</Preferred> <Type cls="U">Internet</Type> <MaxCls cls="U">U</MaxCls> <Address>john.doe@abc.com</Address> </EMail>
Constructor and Description |
---|
EMail() |
Modifier and Type | Method and Description |
---|---|
S255 |
getAddress()
Get the e-mail address..
|
TString |
getMaxCls()
Get the highest classification that can be used for the email address..
|
TString |
getPreferred()
Get a code "Yes" for the preferred address(es) and a code "No" for the
others.
|
S20 |
getType()
Get the type of network hosting the e-mail address..
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetAddress()
Determine if the Address is configured.
|
boolean |
isSetMaxCls()
Determine if the MaxCls is configured.
|
boolean |
isSetPreferred()
Determine if the Preferred is configured.
|
boolean |
isSetType()
Determine if the Type is configured.
|
void |
setAddress(S255 value)
Set the e-mail address..
|
void |
setMaxCls(TString value)
Set the highest classification that can be used for the email address..
|
void |
setPreferred(TString value)
Set a code "Yes" for the preferred address(es) and a code "No" for the
others.
|
void |
setType(S20 value)
Set the type of network hosting the e-mail address..
|
String |
toString()
Get a string representation of this EMail instance configuration.
|
EMail |
withAddress(String value)
Set the e-mail address.
|
EMail |
withMaxCls(ListCCL value)
Set the highest classification that can be used for the email address.
|
EMail |
withPreferred(ListCBO value)
Set a code "Yes" for the preferred address(es) and a code "No" for the
others.
|
EMail |
withType(String value)
Set the type of network hosting the e-mail address.
|
public TString getPreferred()
TString
data typepublic void setPreferred(TString value)
value
- the Preferred value in a TString
data typepublic boolean isSetPreferred()
If configured this method also inspects the TString
wrapped value.
public S20 getType()
S20
instancepublic void setType(S20 value)
value
- a S20
instancepublic boolean isSetType()
public TString getMaxCls()
TString
data typepublic void setMaxCls(TString value)
value
- the MaxCls value in a TString
data typepublic boolean isSetMaxCls()
If configured this method also inspects the TString
wrapped value.
public void setAddress(S255 value)
value
- a S255
instancepublic boolean isSetAddress()
public EMail withPreferred(ListCBO value)
value
- An instances of type ListCBO
.public EMail withType(String value)
value
- An instances of type String
.public EMail withMaxCls(ListCCL value)
value
- An instances of type ListCCL
.public EMail withAddress(String value)
value
- An instances of type String
.public String toString()
public boolean isSet()
Note that this method only checks for the presence of required information; this method does not validate the information format.
Copyright © 2016 OpenSSRF.org. All rights reserved.