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()
          Description of the Method
 

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()
Description of the Method

Returns:
Description of the Return Value

isIndex

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

Returns:
The index value

getDecimals

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

Returns:
The decimals value


Copyright © 2003 SAP AG. All Rights Reserved.