com.atlassian.crowd.model
Class EntityWithAttributes

java.lang.Object
  extended by com.atlassian.crowd.model.EntityWithAttributes
All Implemented Interfaces:
Attributes
Direct Known Subclasses:
InternalGroupWithAttributes, InternalUserWithAttributes

public abstract class EntityWithAttributes
extends Object
implements Attributes

Base class for any entity that can have attributes.


Constructor Summary
EntityWithAttributes(Map<String,Set<String>> attributes)
           
 
Method Summary
 Set<String> getKeys()
           
 String getValue(String name)
           
 Set<String> getValues(String name)
           
 boolean isEmpty()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityWithAttributes

public EntityWithAttributes(Map<String,Set<String>> attributes)
Method Detail

getValues

public Set<String> getValues(String name)
Specified by:
getValues in interface Attributes

getValue

public String getValue(String name)
Specified by:
getValue in interface Attributes

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Attributes

getKeys

public Set<String> getKeys()
Specified by:
getKeys in interface Attributes

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2016 Atlassian. All Rights Reserved.