Package com.netscape.certsrv.account
Class Account
java.lang.Object
com.netscape.certsrv.base.RESTMessage
com.netscape.certsrv.account.Account
- All Implemented Interfaces:
JSONSerializer
- Author:
- Endi S. Dewata
-
Nested Class Summary
Nested classes/interfaces inherited from class com.netscape.certsrv.base.RESTMessage
RESTMessage.Attribute, RESTMessage.AttributeList, RESTMessage.AttributeListDeserializer, RESTMessage.AttributeListSerializer
-
Field Summary
Fields inherited from class com.netscape.certsrv.base.RESTMessage
attributes, className
Fields inherited from interface com.netscape.certsrv.util.JSONSerializer
logger
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.netscape.certsrv.base.RESTMessage
fromDOM, getAttribute, getAttributeList, getAttributeNames, getAttributes, getClassName, removeAttribute, setAttribute, setAttributeList, setAttributes, setClassName, toDOM
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.netscape.certsrv.util.JSONSerializer
toJSON
-
Constructor Details
-
Account
public Account()
-
-
Method Details
-
getID
-
setID
-
getFullName
-
setFullName
-
getEmail
-
setEmail
-
getRoles
-
setRoles
-
addRole
-
hashCode
public int hashCode()- Overrides:
hashCode
in classRESTMessage
-
equals
- Overrides:
equals
in classRESTMessage
-
toDOM
- Overrides:
toDOM
in classRESTMessage
-
fromDOM
-
toXML
- Overrides:
toXML
in classRESTMessage
- Throws:
Exception
-
fromXML
- Throws:
Exception
-
toString
Description copied from class:RESTMessage
Returns a string representation of the object. Do not serialize the REST message by default to avoid exposing sensitive info. Subclasses can override this method if it's safe.- Overrides:
toString
in classRESTMessage
-