public interface AAAObject
Defines the common properties of AAA objects including
| Modifier and Type | Interface and Description |
|---|---|
static class |
AAAObject.F |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object another)
Compare this AAAObject to another object
|
String |
getName()
Returns the name of the object.
|
String |
getProperty(String key)
Return property value of the
AAAObject |
int |
hashCode()
Returns a hashcode for this principal.
|
Set<String> |
propertyKeys()
Return a set contains the
property keys |
void |
setProperty(String key,
String value)
Set property value to the
AAAObject. |
String |
toString()
Returns a string representation of this principal.
|
void |
unsetProperty(String key)
Remove specified property from the
AAAObject |
boolean equals(Object another)
Compare this AAAObject to another object
String toString()
Returns a string representation of this principal.
int hashCode()
Returns a hashcode for this principal.
String getName()
Returns the name of the object. The name shall be unique for certain type of AAAObject
void setProperty(String key, String value)
Set property value to the AAAObject.
Note if the value is null then the property will be removed from the object
key - the property keyvalue - the property valuevoid unsetProperty(String key)
Remove specified property from the AAAObject
key - the property keyString getProperty(String key)
Return property value of the AAAObject
key - the property keyCopyright © 2017–2020 OSGL (Open Source General Library). All rights reserved.