Humboldt Alignment Editor 2.5.0

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

All Superinterfaces:
Group, Instance, MutableGroup
All Known Implementing Classes:
DefaultInstance, OInstance, StreamGmlInstance

public interface MutableInstance
extends Instance, MutableGroup

A mutable instance that allows adding/changing properties

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Method Summary
 void putMetaData(String key, Object obj)
          add Data to the MetaData, which the Instance can be associated with If there is no MetaData in the Instance, a new container will be created
 void setDataSet(DataSet dataSet)
          Set the data set the instance is associated to.
 void setMetaData(String key, Object... values)
          Sets the metadata of a certain key, may also delet or reset the value of the key if the values parameter is null or empty
 void setValue(Object value)
          Set the instance value.
 
Methods inherited from interface eu.esdihumboldt.hale.common.instance.model.Instance
getDataSet, getDefinition, getMetaData, getMetaDataNames, getValue
 
Methods inherited from interface eu.esdihumboldt.hale.common.instance.model.MutableGroup
addProperty, setProperty
 
Methods inherited from interface eu.esdihumboldt.hale.common.instance.model.Group
getProperty, getPropertyNames
 

Method Detail

setValue

void setValue(Object value)
Set the instance value. It may only be a simple value, no collection or Instance.

Parameters:
value - the instance value to set

setDataSet

void setDataSet(DataSet dataSet)
Set the data set the instance is associated to.

Parameters:
dataSet - the instance data set

putMetaData

void putMetaData(String key,
                 Object obj)
add Data to the MetaData, which the Instance can be associated with If there is no MetaData in the Instance, a new container will be created

Parameters:
key - a key the data to add will be associated with
obj - the Data to add, may not be Instance or Group

setMetaData

void setMetaData(String key,
                 Object... values)
Sets the metadata of a certain key, may also delet or reset the value of the key if the values parameter is null or empty

Parameters:
key - the key the data is associated with
values - the values to set, may not contain Instance or Group

Humboldt Alignment Editor 2.5.0

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