|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.appconn.AttributeMetaData
public class AttributeMetaData
Provides metadata about an attribute that is defined on an entity of a Host Integrator model.
Field Summary |
---|
Fields inherited from interface com.wrq.apptrieve.appconn.AppConnMetaData |
---|
METADATA_TYPE_ATTRIBUTE, METADATA_TYPE_COLUMN, METADATA_TYPE_FIELD, METADATA_TYPE_OPERATION, METADATA_TYPE_PROCEDURE, METADATA_TYPE_RECORDSET, METADATA_TYPE_VARIABLE |
Constructor Summary | |
---|---|
AttributeMetaData(EntityAttributeMeta saObject)
Constructor for internal use only. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Gets the description specified in the Design Tool for the attribute. |
int |
getLength()
Gets the length of the attribute -- the total number of screen characters. |
int |
getMetaDataType()
Gets the meta data type for this object. |
java.lang.String |
getName()
Gets the name of the attribute. |
java.lang.String |
getReadVariable()
Gets the name of the variable mapped to this attribute for reading. |
java.lang.String |
getWriteVariable()
Gets the name of the variable mapped to this attribute for writing. |
boolean |
isReadable()
Discovers whether the attribute is readable. |
boolean |
isWriteable()
Discovers whether the attribute is writable. |
boolean |
terminalAttributesEnabled()
Discovers whether the terminal attributes are enabled for the attribute. |
java.lang.String |
toString()
Generates a String object that represents the current values of this AttributeMetaData object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttributeMetaData(EntityAttributeMeta saObject)
saObject
- dataMethod Detail |
---|
public java.lang.String getDescription()
getDescription
in interface AppConnMetaData
public int getLength()
If an Event Handler is attached to the attributeRead event for this attribute, the attribute can return values longer than the defined length.
public int getMetaDataType()
getMetaDataType
in interface AppConnMetaData
public java.lang.String getName()
getName
in interface AppConnMetaData
public java.lang.String getReadVariable()
This variable will be updated with the attribute value when an entity operation performs a ReadFromMappedAttr command.
Returns a 0-length String if the attribute is not mapped.
public java.lang.String getWriteVariable()
The attribute will be updated with the value from this variable when an entity operation performs a WriteToMappedAttr command.
Returns a 0-length String if the attribute is not mapped.
public boolean isReadable()
AppConnModel.getAttributes(java.util.List)
public boolean isWriteable()
AppConnModel.setAttributes(java.util.Map)
public boolean terminalAttributesEnabled()
enableTerminalAttributes(true)
AppConnModel.enableTerminalAttributes(boolean)
,
AppConnModel.getAttributes(java.util.List)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |