com.sap.ip.me.api.persist.meta
Interface AttributeDescriptor

All Known Subinterfaces:
FieldDescriptor

public interface AttributeDescriptor

this class describes an attribute of a persistable class.

Version:
Author:
SAP
See Also:
DescriptorRuntime

Method Summary
 int getDecimals()
          Gets the decimals attribute of the AttributeDescriptor object
 int getLength()
          Gets the maximum length of this attribute.
 int getMultiple()
          Gets the multiplicity of the attribute.
 java.lang.String getName()
          Gets the name attribute of the PersistableAttribute object
 AttributeType getType()
          Gets the type of the attribute
 boolean isIndex()
          Gets the index attribute of the AttributeDescriptor object
 java.lang.String toSqlString()
          Deprecated.  
 

Method Detail

getName

java.lang.String getName()
Gets the name attribute of the PersistableAttribute object

Returns:
The attribute name

getType

AttributeType getType()
Gets the type of the attribute

Returns:
The attribute type

getMultiple

int getMultiple()
Gets the multiplicity of the attribute. Possible value range goes from 1 to DescriptorRuntime.MAX_ATTRIB_MULTIPLICITY

Returns:
The multiple value

getLength

int getLength()
Gets the maximum length of this attribute.

Returns:
The length value

toSqlString

java.lang.String toSqlString()
Deprecated. 

Has no relevant function for Application.

Returns:

isIndex

boolean isIndex()
Gets the index attribute of the AttributeDescriptor object

Returns:
TRUE if attribute is indexed

getDecimals

int getDecimals()
Gets the decimals attribute of the AttributeDescriptor object

Returns:
The decimals value