com.atlassian.crowd.model
Class EntityWithAttributes
java.lang.Object
com.atlassian.crowd.model.EntityWithAttributes
- All Implemented Interfaces:
- Attributes
- Direct Known Subclasses:
- InternalGroupWithAttributes, InternalUserWithAttributes
public abstract class EntityWithAttributes
- extends java.lang.Object
- implements Attributes
Base class for any entity that can have attributes.
|
Constructor Summary |
EntityWithAttributes(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
|
|
Method Summary |
java.util.Set<java.lang.String> |
getKeys()
|
java.lang.String |
getValue(java.lang.String name)
|
java.util.Set<java.lang.String> |
getValues(java.lang.String name)
|
boolean |
isEmpty()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntityWithAttributes
public EntityWithAttributes(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
getValues
public java.util.Set<java.lang.String> getValues(java.lang.String name)
- Specified by:
getValues in interface Attributes
getValue
public java.lang.String getValue(java.lang.String name)
- Specified by:
getValue in interface Attributes
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Attributes
getKeys
public java.util.Set<java.lang.String> getKeys()
- Specified by:
getKeys in interface Attributes
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2012 Atlassian. All Rights Reserved.