public class ItemInformation
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
ItemInformation(FormDescription formDescription) |
Modifier and Type | Method and Description |
---|---|
ItemInformation |
clone() |
java.lang.Boolean |
getBooleanProperty(java.lang.String propertyKey)
Get a Boolean property from the hash table,
returning null if the property does not exist.
|
ControlTypes |
getControlType() |
java.lang.Float |
getFloatProperty(java.lang.String propertyKey)
Get a Float property from the hash table,
returning null if the property does not exist.
|
FormDescription |
getFormDescription() |
java.lang.Integer |
getIntegerProperty(java.lang.String propertyKey)
Get an Integer property from the hash table,
returning null if the property does not exist.
|
java.lang.String |
getStringProperty(java.lang.String title)
Get a string property from the hash table,
returning null if the property does not exist.
|
UDFTableDefinition |
getUdfTableDefinition()
non static this means blank item description has to be created then a
|
void |
readTableDefRecord()
Read the data for a single from item (control or command) from the UDF table
definition.
|
java.lang.Object |
setProperty(java.lang.String propertyKey,
java.lang.Object property)
Set a property in the property table.
|
void |
writeTableDefRecord()
Move data from the item back into the appropriate columns of the udf table
ready for writing to the database.
|
public ItemInformation(FormDescription formDescription)
public void writeTableDefRecord()
public void readTableDefRecord()
public ItemInformation clone()
clone
in class java.lang.Object
public UDFTableDefinition getUdfTableDefinition()
public java.lang.Object setProperty(java.lang.String propertyKey, java.lang.Object property)
propertyKey
- prperty key nameproperty
- Property objectpublic java.lang.String getStringProperty(java.lang.String title)
title
- property keypublic java.lang.Integer getIntegerProperty(java.lang.String propertyKey)
propertyKey
- property keypublic java.lang.Float getFloatProperty(java.lang.String propertyKey)
propertyKey
- property keypublic java.lang.Boolean getBooleanProperty(java.lang.String propertyKey)
propertyKey
- property keypublic FormDescription getFormDescription()
public ControlTypes getControlType()