public interface IDataModel extends Serializable, Cloneable
| Modifier and Type | Method and Description |
|---|---|
Hashtable<String,Object> |
copyProperties(Hashtable<String,Object> target)
Copies the properties
Hashtable of this data model to a given
instance. |
String |
getModelName()
Gets the internal name of the data model.
|
Hashtable<String,Object> |
getProperties()
Gets the properties
Hashtable of this data model. |
Object |
getProperty(String key)
Get the property specified by
key. |
void |
setModelName(String name)
Sets the internal name of the data model.
|
void |
setProperties(Hashtable<String,Object> properties)
Sets the properties
Hashtable of this data model |
void |
setProperty(String key,
Object value)
Set a specific property by
key and value. |
String getModelName()
model_name in the properties hashtable of the data model.
This property is read out for the display in the MainFrame's title.
Stringvoid setModelName(String name)
model_name in the properties hashtable of the data model.
This property is read out for the display in the MainFrame's title.
name - Hashtable<String,Object> getProperties()
Hashtable of this data model.void setProperties(Hashtable<String,Object> properties)
Hashtable of this data modelproperties - Object getProperty(String key)
key.key - void setProperty(String key, Object value)
key and value.key - value - Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.