public class UserByEmailAddressGrantee extends EmailAddressGrantee
Constructor and Description |
---|
UserByEmailAddressGrantee()
Default constructor.
|
UserByEmailAddressGrantee(java.lang.String emailAddress)
Constructs a grantee with the given email.
|
UserByEmailAddressGrantee(java.lang.String emailAddress,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
com.jamesmurty.utils.XMLBuilder |
toXMLBuilder() |
equals, getIdentifier, hashCode, setIdentifier, toXml
public UserByEmailAddressGrantee()
Warning! If created with this constructor this class will not represent a valid grantee until the identifier is set.
public UserByEmailAddressGrantee(java.lang.String emailAddress)
emailAddress
- user's service-recognizable email address.public UserByEmailAddressGrantee(java.lang.String emailAddress, java.lang.String name)
public java.lang.String getName()
public void setName(java.lang.String name)
public com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws javax.xml.transform.TransformerException, javax.xml.parsers.ParserConfigurationException, javax.xml.parsers.FactoryConfigurationError
toXMLBuilder
in interface GranteeInterface
toXMLBuilder
in class EmailAddressGrantee
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
public java.lang.String toString()
toString
in class java.lang.Object