Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.instance.model
Interface Group

All Known Subinterfaces:
FamilyInstance, Instance, MutableGroup, MutableInstance
All Known Implementing Classes:
DefaultGroup, DefaultInstance, FamilyInstanceImpl, InstanceDecorator, OGroup, OInstance, StreamGmlInstance

public interface Group

Represents a group of properties

Author:
Simon Templer

Method Summary
 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.
 

Method Detail

getProperty

Object[] getProperty(QName propertyName)
Get the values for the property with the given name. Values can also be groups or instances.

Parameters:
propertyName - the property name
Returns:
the property values, may be null if none exist

getPropertyNames

Iterable<QName> getPropertyNames()
Get the property names for which any values exist. Especially helpful when there is (for whatever reason) no type definition associated to the instance.

Returns:
the list of property names with associated values

getDefinition

DefinitionGroup getDefinition()
Get the group definition

Returns:
the group definition

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d