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

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

Returns:
The attribute name

getType

public AttributeType getType()
Gets the type of the attribute

Returns:
The attribute type

getMultiple

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

Returns:
The multiple value

getLength

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

Returns:
The length value

toSqlString

public java.lang.String toSqlString()
Deprecated.  

Has no relevant function for Application.

Returns:

isIndex

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

Returns:
TRUE if attribute is indexed

getDecimals

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

Returns:
The decimals value


Copyright © 2005 SAP AG. All Rights Reserved.