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
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(String emailAddress)
- Constructs a grantee with the given email.
- Parameters:
emailAddress
- user's service-recognizable email address.
UserByEmailAddressGrantee
public UserByEmailAddressGrantee(String emailAddress,
String name)
getName
public String getName()
setName
public void setName(String name)
toXMLBuilder
public com.jamesmurty.utils.XMLBuilder toXMLBuilder()
throws TransformerException,
ParserConfigurationException,
FactoryConfigurationError
- Specified by:
toXMLBuilder
in interface GranteeInterface
- Overrides:
toXMLBuilder
in class EmailAddressGrantee
- Throws:
TransformerException
ParserConfigurationException
FactoryConfigurationError
equals
public boolean equals(Object obj)
- Overrides:
equals
in class EmailAddressGrantee
toString
public String toString()
- Overrides:
toString
in class Object