|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.integration.rest.entity.MultiValuedAttributeEntityList
public class MultiValuedAttributeEntityList
Contains a list of MultiValuedAttributeEntitys.
Constructor Summary | |
---|---|
MultiValuedAttributeEntityList(List<MultiValuedAttributeEntity> attributes)
|
Method Summary | |
---|---|
MultiValuedAttributeEntity |
get(int index)
|
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()
|
Iterator<MultiValuedAttributeEntity> |
iterator()
|
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiValuedAttributeEntityList(List<MultiValuedAttributeEntity> attributes)
Method Detail |
---|
public int size()
public Set<String> getValues(String key)
Attributes
getValues
in interface Attributes
key
- the key to retrieve the values for
public String getValue(String key)
Attributes
null
if there is no value.
getValue
in interface Attributes
key
- the key to retrieve the value for
null
if there is no valuepublic Set<String> getKeys()
Attributes
getKeys
in interface Attributes
public boolean isEmpty()
isEmpty
in interface Attributes
true
if there are no attributespublic MultiValuedAttributeEntity get(int index)
public Iterator<MultiValuedAttributeEntity> iterator()
iterator
in interface Iterable<MultiValuedAttributeEntity>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |