|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.instance.model.impl.DefaultGroup
public class DefaultGroup
Group implementation backed by a ListMultimap
.
Constructor Summary | |
---|---|
DefaultGroup(DefinitionGroup definition)
Create an empty group. |
|
DefaultGroup(Group org)
Copy constructor. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultGroup(DefinitionGroup definition)
definition
- the associated definitionpublic DefaultGroup(Group org)
org
- the instance to copyMethod Detail |
---|
public Object[] getProperty(QName propertyName)
Group
getProperty
in interface Group
propertyName
- the property name
null
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[])
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |