com.sapportals.connector.metadata.primitives

Interface IPrimitive

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

public interface IPrimitive

This base interface exposes metadata for data primitives


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_DATE_TIME
          Constant indicating the primitive is of type time
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
 Set<IOperator> retrieveOperators()
          Return all the operators supported by this primitive
 String retrievePrimitiveDescription()
          Return a short description of this data type.
 int retrievePrimitiveTypeCode()
          Returns the type code of the primitive,
 

Field Detail

PRIMITIVE_TYPE_UNKNOWN

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_BOOLEAN

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_BYTE

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_CHAR

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_SHORT

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_INT

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_LONG

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_FLOAT

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_DOUBLE

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_NUMBER

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_STRING

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_DATE

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_BIGDECIMAL

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_ENUMERATION

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_TIME

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

See Also:
Constant Field Values

PRIMITIVE_TYPE_DATE_TIME

static final int PRIMITIVE_TYPE_DATE_TIME
Constant indicating the primitive is of type time

See Also:
Constant Field Values
Method Detail

retrievePrimitiveTypeCode

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, PRIMITIVE_TYPE_DATE_TIME

retrievePrimitiveDescription

String retrievePrimitiveDescription()
Return a short description of this data type.

Returns:
String A short description of the data type.

retrieveOperators

Set<IOperator> retrieveOperators()
Return all the operators supported by this primitive

Returns:
Set a set of all IOperator supported by the primitive
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN


Copyright 2011 SAP AG Complete Copyright Notice