com.atlassian.crowd.directory
Class MultiValuedAttributeValuesHolder

java.lang.Object
  extended by com.atlassian.crowd.directory.MultiValuedAttributeValuesHolder
All Implemented Interfaces:
com.atlassian.crowd.embedded.api.Attributes

public class MultiValuedAttributeValuesHolder
extends Object
implements com.atlassian.crowd.embedded.api.Attributes

Concrete implementation of Attributes interface for multi-valued attributes.


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

Constructor Detail

MultiValuedAttributeValuesHolder

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

getValues

public Set<String> getValues(String name)
Specified by:
getValues in interface com.atlassian.crowd.embedded.api.Attributes

getValue

public String getValue(String name)
Specified by:
getValue in interface com.atlassian.crowd.embedded.api.Attributes

getKeys

public Set<String> getKeys()
Specified by:
getKeys in interface com.atlassian.crowd.embedded.api.Attributes

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface com.atlassian.crowd.embedded.api.Attributes


Copyright © 2014 Atlassian. All Rights Reserved.