Package 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
-
-
Constructor Summary
Constructors Constructor Description UserByEmailAddressGrantee()
Default constructor.UserByEmailAddressGrantee(String emailAddress)
Constructs a grantee with the given email.UserByEmailAddressGrantee(String emailAddress, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getName()
void
setName(String name)
String
toString()
com.jamesmurty.utils.XMLBuilder
toXMLBuilder()
-
Methods inherited from class org.jets3t.service.acl.EmailAddressGrantee
getIdentifier, hashCode, setIdentifier, toXml
-
-
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
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 interfaceGranteeInterface
- Overrides:
toXMLBuilder
in classEmailAddressGrantee
- Throws:
TransformerException
ParserConfigurationException
FactoryConfigurationError
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classEmailAddressGrantee
-
-