org.jets3t.service.acl.gs
Class UserByEmailAddressGrantee
java.lang.Object
org.jets3t.service.acl.EmailAddressGrantee
org.jets3t.service.acl.gs.UserByEmailAddressGrantee
- All Implemented Interfaces:
- GranteeInterface
public class UserByEmailAddressGrantee
- extends EmailAddressGrantee
Represents an User By Email Grantee, that is a grantee identified by their email address.
- Author:
- Google Developers
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UserByEmailAddressGrantee
public UserByEmailAddressGrantee()
- Default constructor.
Warning! If created with this constructor this class will not
represent a valid grantee until the identifier is set.
UserByEmailAddressGrantee
public UserByEmailAddressGrantee(java.lang.String emailAddress)
- Constructs a grantee with the given email.
- Parameters:
emailAddress
- user's service-recognizable email address.
UserByEmailAddressGrantee
public UserByEmailAddressGrantee(java.lang.String emailAddress,
java.lang.String name)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
toXMLBuilder
public com.jamesmurty.utils.XMLBuilder toXMLBuilder()
throws javax.xml.transform.TransformerException,
javax.xml.parsers.ParserConfigurationException,
javax.xml.parsers.FactoryConfigurationError
- Specified by:
toXMLBuilder
in interface GranteeInterface
- Overrides:
toXMLBuilder
in class EmailAddressGrantee
- Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class EmailAddressGrantee
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object