Methods Summary |
---|
public java.lang.Object | clone()Copies the current instance.
EmailField retval = new EmailField();
if (emailAddress != null)
retval.emailAddress = (EmailAddress) this.emailAddress.clone();
return retval;
|
public java.lang.String | encode()Gets the string encoded version of this object.
return EMAIL_FIELD + emailAddress.encode() + Separators.NEWLINE;
|
public EmailAddress | getEmailAddress()Gets the email address.
return emailAddress;
|
public java.lang.String | getValue()Gets the email address value.
if (emailAddress == null)
return null;
else {
return emailAddress.getDisplayName();
}
|
public void | setEmailAddress(EmailAddress emailAddress)Sets the email address member.
this.emailAddress = emailAddress;
|
public void | setValue(java.lang.String value)Sets the email value.
if (value == null)
throw new SdpException("The value is null");
else {
emailAddress.setDisplayName(value);
}
|
public java.lang.String | toString()Gets the string encoded version of this object. return this.encode();
|