public interface AttributesInterface
Modifier and Type | Method and Description |
---|---|
String |
getAttribute(String groupName,
String key)
Get a value for an attribute in an attribute group
|
Map<String,String> |
getAttributes(String groupName)
Get an attributes map for a group
|
Map<String,Map<String,String>> |
getAttributesMap() |
void |
setAttribute(String groupName,
String key,
String value)
Add an attribute to an attribute group
|
void |
setAttributes(String groupName,
Map<String,String> attributes)
Add a map of attributes to an attribute group.
|
void |
setAttributesMap(Map<String,Map<String,String>> attributesMap)
Pass a map of group attributes
|
void setAttributesMap(Map<String,Map<String,String>> attributesMap)
attributesMap
- The map of group attributesMap<String,Map<String,String>> getAttributesMap()
void setAttributes(String groupName, Map<String,String> attributes)
groupName
- The group to add the attributes toattributes
- the attributes to addvoid setAttribute(String groupName, String key, String value)
groupName
- The group to add the attribute tokey
- The key of the attributevalue
- the value of the attributeMap<String,String> getAttributes(String groupName)
groupName
- The name of the attributes group to retrieve