SAP J2EE Engine

Version 6.40


com.sapportals.connector.metadata.primitives
Interface IPrimitive

All Known Subinterfaces:
IBigDecimal, IBoolean, IByte, IChar, IDate, IDouble, IEnumeration, IFloat, IInt, ILong, INumber, IShort, IString, ITime, IUnknown

public interface IPrimitive

This base interface exposes metadata for data primitives

Version:
1.0

Field Summary
static int PRIMITIVE_TYPE_BIGDECIMAL
          Constant indicating the primitive is of type big decimal
static int PRIMITIVE_TYPE_BOOLEAN
          Constant indicating the primitive is of type boolean
static int PRIMITIVE_TYPE_BYTE
          Constant indicating the primitive is of type byte
static int PRIMITIVE_TYPE_CHAR
          Constant indicating the primitive is of type char
static int PRIMITIVE_TYPE_DATE
          Constant indicating the primitive is of type date
static int PRIMITIVE_TYPE_DOUBLE
          Constant indicating the primitive is of type double
static int PRIMITIVE_TYPE_ENUMERATION
          Constant indicating the primitive is of type enumeration
static int PRIMITIVE_TYPE_FLOAT
          Constant indicating the primitive is of type float
static int PRIMITIVE_TYPE_INT
          Constant indicating the primitive is of type int
static int PRIMITIVE_TYPE_LONG
          Constant indicating the primitive is of type long
static int PRIMITIVE_TYPE_NUMBER
          Constant indicating the primitive is of type number
static int PRIMITIVE_TYPE_SHORT
          Constant indicating the primitive is of type short
static int PRIMITIVE_TYPE_STRING
          Constant indicating the primitive is of type string
static int PRIMITIVE_TYPE_TIME
          Constant indicating the primitive is of type time
static int PRIMITIVE_TYPE_UNKNOWN
          Constant indicating the type of the primitive is unknown
 
Method Summary
 java.util.Set retrieveOperators()
          Return all the operators supported by this primitive
 java.lang.String retrievePrimitiveDescription()
          Return a short description of this data type.
 int retrievePrimitiveTypeCode()
          Returns the type code of the primitive,
 

Field Detail

PRIMITIVE_TYPE_UNKNOWN

public static final int PRIMITIVE_TYPE_UNKNOWN
Constant indicating the type of the primitive is unknown

PRIMITIVE_TYPE_BOOLEAN

public static final int PRIMITIVE_TYPE_BOOLEAN
Constant indicating the primitive is of type boolean

PRIMITIVE_TYPE_BYTE

public static final int PRIMITIVE_TYPE_BYTE
Constant indicating the primitive is of type byte

PRIMITIVE_TYPE_CHAR

public static final int PRIMITIVE_TYPE_CHAR
Constant indicating the primitive is of type char

PRIMITIVE_TYPE_SHORT

public static final int PRIMITIVE_TYPE_SHORT
Constant indicating the primitive is of type short

PRIMITIVE_TYPE_INT

public static final int PRIMITIVE_TYPE_INT
Constant indicating the primitive is of type int

PRIMITIVE_TYPE_LONG

public static final int PRIMITIVE_TYPE_LONG
Constant indicating the primitive is of type long

PRIMITIVE_TYPE_FLOAT

public static final int PRIMITIVE_TYPE_FLOAT
Constant indicating the primitive is of type float

PRIMITIVE_TYPE_DOUBLE

public static final int PRIMITIVE_TYPE_DOUBLE
Constant indicating the primitive is of type double

PRIMITIVE_TYPE_NUMBER

public static final int PRIMITIVE_TYPE_NUMBER
Constant indicating the primitive is of type number

PRIMITIVE_TYPE_STRING

public static final int PRIMITIVE_TYPE_STRING
Constant indicating the primitive is of type string

PRIMITIVE_TYPE_DATE

public static final int PRIMITIVE_TYPE_DATE
Constant indicating the primitive is of type date

PRIMITIVE_TYPE_BIGDECIMAL

public static final int PRIMITIVE_TYPE_BIGDECIMAL
Constant indicating the primitive is of type big decimal

PRIMITIVE_TYPE_ENUMERATION

public static final int PRIMITIVE_TYPE_ENUMERATION
Constant indicating the primitive is of type enumeration

PRIMITIVE_TYPE_TIME

public static final int PRIMITIVE_TYPE_TIME
Constant indicating the primitive is of type time
Method Detail

retrievePrimitiveTypeCode

public int retrievePrimitiveTypeCode()
Returns the type code of the primitive,
Returns:
PRIMITIVE_TYPE_STRING, PRIMITIVE_TYPE_INTEGER, PRIMITIVE_TYPE_DOUBLE, PRIMITIVE_TYPE_DATE, PRIMITIVE_TYPE_BOOLEAN, PRIMITIVE_TYPE_BYTEARRAY, PRIMITIVE_TYPE_OBJECT, PRIMITIVE_TYPE_UNKNOWN

retrievePrimitiveDescription

public java.lang.String retrievePrimitiveDescription()
Return a short description of this data type.
Returns:
String A short description of the data type.

retrieveOperators

public java.util.Set retrieveOperators()
Return all the operators supported by this primitive
Returns:
Set a set of all IOperator supported by the primitive

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.