|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.embedded.impl.AbstractDelegatingEntityWithAttributes
public abstract class AbstractDelegatingEntityWithAttributes
Abstract class providing a delegating implementation of the Attributes interface.
This is the common behaviour of DelegatingUserWithAttributes and DelegatingGroupWithAttributes.
| Constructor Summary | |
|---|---|
AbstractDelegatingEntityWithAttributes(Attributes attributes)
|
|
| Method Summary | |
|---|---|
Set<String> |
getKeys()
Gets all the keys of the attributes. |
String |
getValue(String key)
Returns any value associated with the given key, returns null if there is no value. |
Set<String> |
getValues(String key)
Get all the values associated with a given key. |
boolean |
isEmpty()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDelegatingEntityWithAttributes(Attributes attributes)
| Method Detail |
|---|
public Set<String> getValues(String key)
Attributes
getValues in interface Attributeskey - the key to retrieve the values for
public String getValue(String key)
Attributesnull if there is no value.
getValue in interface Attributeskey - the key to retrieve the value for
null if there is no valuepublic Set<String> getKeys()
Attributes
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributestrue if there are no attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||