com.atlassian.crowd.directory
Class MultiValuedAttributeValuesHolder

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

public class MultiValuedAttributeValuesHolder
extends java.lang.Object
implements Attributes

Concrete implementation of Attributes interface for multi-valued attributes.


Constructor Summary
MultiValuedAttributeValuesHolder(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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiValuedAttributeValuesHolder

public MultiValuedAttributeValuesHolder(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> attributes)
Method Detail

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

getKeys

public java.util.Set<java.lang.String> getKeys()
Specified by:
getKeys in interface Attributes

isEmpty

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


Copyright © 2012 Atlassian. All Rights Reserved.