com.businessobjects.rebean.wi
Class ObjectType

java.lang.Object
  extended by com.businessobjects.rebean.wi.ObjectType
All Implemented Interfaces:
EnumItem, java.io.Serializable

public final class ObjectType
extends java.lang.Object
implements java.io.Serializable, EnumItem

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

ObjectType class represents all possible data types possible for a DataSourceObject to be.

See Also:
DataSourceObject.getType(), Serialized Form

Field Summary
static int _DATE
          int value of DATE.value()
static int _NUMERIC
          int value of NUMERIC.value()
static int _TEXT
          int value of TEXT.value()
static ObjectType DATE
          A date.
static ObjectType NUMERIC
          A numeric object.
static ObjectType TEXT
          A test object.
 
Method Summary
static ObjectType fromInt(int value)
          Returns an ObjectType instance corresponding to value, or null when value does not correspond to any ObjectType
 java.lang.String toString()
          Returns a String representation of this data source object type (for debug purposes)
 int value()
          Returns the int value of this data source object type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_DATE

public static final int _DATE
int value of DATE.value()

See Also:
Constant Field Values

_NUMERIC

public static final int _NUMERIC
int value of NUMERIC.value()

See Also:
Constant Field Values

_TEXT

public static final int _TEXT
int value of TEXT.value()

See Also:
Constant Field Values

DATE

public static final ObjectType DATE
A date.


NUMERIC

public static final ObjectType NUMERIC
A numeric object.


TEXT

public static final ObjectType TEXT
A test object.

Method Detail

value

public int value()
Returns the int value of this data source object type

Specified by:
value in interface EnumItem
Returns:
the int value of this data source object type

toString

public java.lang.String toString()
Returns a String representation of this data source object type (for debug purposes)

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this data source object type (for debug purposes)

fromInt

public static ObjectType fromInt(int value)
Returns an ObjectType instance corresponding to value, or null when value does not correspond to any ObjectType

Returns:
an ObjectType instance corresponding to value, or null when value does not correspond to any ObjectType