|
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.InstanceDecorator
public class InstanceDecorator
Instance decorator class.
Constructor Summary | |
---|---|
InstanceDecorator(Instance instance)
Constructs the decorator with the given instance. |
Method Summary | |
---|---|
DataSet |
getDataSet()
Get the data set the instance is associated to. |
TypeDefinition |
getDefinition()
Get the definition of the type associated with the instance |
List<Object> |
getMetaData(String key)
Get the metadata the instance my be associated with |
Set<String> |
getMetaDataNames()
Get all keys the metadata is associated with |
Instance |
getOriginalInstance()
Returns the original instance. |
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. |
Object |
getValue()
Get the instance value. The value is only present for certain types where the HasValueFlag or AugmentedValueFlag constraint is enabled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstanceDecorator(Instance instance)
instance
- the instance to decorateMethod Detail |
---|
public Instance getOriginalInstance()
public Object[] getProperty(QName propertyName)
Group
getProperty
in interface Group
propertyName
- the property name
null
if none existGroup.getProperty(javax.xml.namespace.QName)
public Iterable<QName> getPropertyNames()
Group
getPropertyNames
in interface Group
Group.getPropertyNames()
public TypeDefinition getDefinition()
Instance
getDefinition
in interface Group
getDefinition
in interface Instance
Instance.getDefinition()
public Object getValue()
Instance
HasValueFlag
or AugmentedValueFlag
constraint is enabled.
The Binding
constraint on the type definition defines the binding
of the value.Group
or Instance
).
getValue
in interface Instance
null
Instance.getValue()
public DataSet getDataSet()
Instance
getDataSet
in interface Instance
null
if not setInstance.getDataSet()
public List<Object> getMetaData(String key)
Instance
getMetaData
in interface Instance
key
- the key to access a certain metadata
Instance.getMetaData(java.lang.String)
public Set<String> getMetaDataNames()
Instance
getMetaDataNames
in interface Instance
Instance.getMetaDataNames()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |