public abstract class EntityWithAttributes extends Object implements Attributes
| Constructor and Description |
|---|
EntityWithAttributes(Map<String,Set<String>> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getKeys()
Gets all the keys of the attributes.
|
String |
getValue(String name)
Returns any value associated with the given key, returns
null if there is no value. |
Set<String> |
getValues(String name)
Get all the values associated with a given key.
|
boolean |
isEmpty() |
String |
toString() |
public Set<String> getValues(String name)
AttributesgetValues in interface Attributesname - the key to retrieve the values forpublic String getValue(String name)
Attributesnull if there is no value.getValue in interface Attributesname - the key to retrieve the value fornull if there is no valuepublic boolean isEmpty()
isEmpty in interface Attributestrue if there are no attributespublic Set<String> getKeys()
AttributesgetKeys in interface AttributesCopyright © 2019 Atlassian. All rights reserved.