public class EmailAddressGrantee extends Object implements GranteeInterface
Constructor and Description |
---|
EmailAddressGrantee()
Default construtor.
|
EmailAddressGrantee(String emailAddress)
Constructs an email grantee with the given email address.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentifier()
Returns the grantee's email address (ID).
|
int |
hashCode() |
void |
setIdentifier(String emailAddress)
Set the email address as the grantee's ID.
|
String |
toXml() |
com.jamesmurty.utils.XMLBuilder |
toXMLBuilder() |
public EmailAddressGrantee()
Warning! If this constructor is used the class will not represent a valid email grantee until the identifier has been set.
public EmailAddressGrantee(String emailAddress)
emailAddress
- Email addresspublic String toXml() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
toXml
in interface GranteeInterface
TransformerException
ParserConfigurationException
FactoryConfigurationError
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
toXMLBuilder
in interface GranteeInterface
TransformerException
ParserConfigurationException
FactoryConfigurationError
public void setIdentifier(String emailAddress)
setIdentifier
in interface GranteeInterface
public String getIdentifier()
getIdentifier
in interface GranteeInterface
Copyright © 2006–2018. All rights reserved.