GranteeInterface
UserByEmailAddressGrantee
public class EmailAddressGrantee extends Object implements GranteeInterface
Constructor | Description |
---|---|
EmailAddressGrantee() |
Default construtor.
|
EmailAddressGrantee(String emailAddress) |
Constructs an email grantee with the given email address.
|
Modifier and Type | Method | 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
- public 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