public class CustomDataModel extends AbstractDataModel
| Modifier and Type | Field and Description |
|---|---|
private Object[] |
content |
private Object[] |
contentDescriptors |
private static long |
serialVersionUID
The UID for serialization.
|
modelName, properties| Modifier | Constructor and Description |
|---|---|
|
CustomDataModel()
Default constructor, puts the
model_name to the
properties hashtable. |
protected |
CustomDataModel(String name)
Custom constructor, puts the
model_name to the
properties hashtable. |
| Modifier and Type | Method and Description |
|---|---|
CustomDataModel |
clone() |
Object[] |
getContent() |
Object[] |
getContentDescriptors() |
void |
setContent(Object[] content) |
void |
setContentDescriptors(Object[] contentDescriptors) |
copyProperties, getDataType, getModelName, getProperties, getProperty, setDataType, setModelName, setProperties, setPropertyprivate static final long serialVersionUID
private Object[] contentDescriptors
private Object[] content
public CustomDataModel()
model_name to the
properties hashtable.
Default name is "CustomDataModel".protected CustomDataModel(String name)
model_name to the
properties hashtable.name - the name of the modelpublic Object[] getContentDescriptors()
public void setContentDescriptors(Object[] contentDescriptors)
contentDescriptors - the contentDescriptors to setpublic Object[] getContent()
public void setContent(Object[] content)
content - the content to setpublic CustomDataModel clone() throws CloneNotSupportedException
clone in class AbstractDataModelCloneNotSupportedExceptionCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.