|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeData
This interface represents data that is associated with an attribute.
The name of the attribute can be accessed usingAttributeData.getAttributeName()
. AttributeData.getData()
returns data
associated with the attribute, the return type for which is based in the type of attribute. Type can be inspected
using AttributeData.getType()
.
The following table maps CS types to the Java types that AttributeData.getData()
returns.
CS Data type | Java Type |
INT | Integer |
FLOAT | Double |
STRING | String |
DATE | Date |
MONEY | Double |
LONG | Long |
LARGE_TEXT | String |
ASSET | AssetId |
BLOB | BlobObject |
Method Summary | |
---|---|
AttributeDef |
getAttributeDef()
Returns attribute definition for this attribute. |
java.lang.String |
getAttributeName()
Returns name of the attribute for which this instance represents data |
java.lang.Object |
getData()
Returns handle to the raw data. |
java.util.List |
getDataAsList()
Returns handle to data when data is multi valued. |
AttributeTypeEnum |
getType()
Indicates the type of data contained. |
Method Detail |
---|
java.lang.String getAttributeName()
AttributeTypeEnum getType()
java.lang.Object getData()
AttributeDef getAttributeDef()
java.util.List getDataAsList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |