public class DefaultGroup extends Object implements MutableGroup
ListMultimap
.Constructor and Description |
---|
DefaultGroup(DefinitionGroup definition)
Create an empty group.
|
DefaultGroup(Group org)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(QName propertyName,
Object value)
Adds a property value
|
DefinitionGroup |
getDefinition()
Get the group definition
|
Object[] |
getProperty(QName propertyName)
Get the values for the property with the given name.
|
Iterable<QName> |
getPropertyNames()
Get the property names for which any values exist.
|
void |
setProperty(QName propertyName,
Object... values)
Sets values for a property
|
public DefaultGroup(DefinitionGroup definition)
definition
- the associated definitionpublic DefaultGroup(Group org)
org
- the instance to copypublic Object[] getProperty(QName propertyName)
Group
getProperty
in interface Group
propertyName
- the property namenull
if none existGroup.getProperty(QName)
public Iterable<QName> getPropertyNames()
Group
getPropertyNames
in interface Group
Group.getPropertyNames()
public DefinitionGroup getDefinition()
Group
getDefinition
in interface Group
Group.getDefinition()
public void addProperty(QName propertyName, Object value)
MutableGroup
addProperty
in interface MutableGroup
propertyName
- the property namevalue
- the property valueMutableGroup.addProperty(QName, Object)
public void setProperty(QName propertyName, Object... values)
MutableGroup
setProperty
in interface MutableGroup
propertyName
- the property namevalues
- the values for the propertyMutableGroup.setProperty(QName, Object[])
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a