|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Standard interface implemented by any data type.
Field Summary | |
static int |
ARRAY_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
static int |
BOOLEAN_TYPE
Basic boolean type. |
static int |
DATETIME_TYPE
Basic date/time type. |
static int |
DECLARED_TYPE
A reference to a Package-level TypeDeclaration. |
static int |
DEFAULT_TYPE
Preserves the existing type - use only when the type has already been assigned. |
static int |
ENUMERATION_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
static int |
EXTERNAL_REFERENCE_TYPE
An object whose definition is external (e.g., as a Java class). |
static int |
FLOAT_TYPE
Basic 64-bit signed double-precision type. |
static int |
INTEGER_TYPE
Basic 32-bit integer type. |
static int |
LIST_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
static int |
PERFORMER_TYPE
Basic performer name type (basically a string). |
static int |
RECORD_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
static int |
REFERENCE_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
static int |
SCHEMA_TYPE
An XML document whose structure is defined by an XML Schema. |
static int |
STRING_TYPE
Basic string type. |
static int |
UNDEFINED_TYPE
Indicates that the type is currently undefined. |
static int |
UNION_TYPE
Deprecated. Use EXTERNAL_REFERENCE_TYPE or SCHEMA_TYPE . |
Method Summary | |
Type |
getImpliedType()
Returns the actual type implied by this type. |
boolean |
isAssignableFrom(Type fromType)
Checks type compatibility in an assignment. |
int |
value()
The data type's ordinal value. |
Field Detail |
public static final int UNDEFINED_TYPE
DeclaredType.value()
.
public static final int DEFAULT_TYPE
public static final int STRING_TYPE
public static final int FLOAT_TYPE
public static final int INTEGER_TYPE
public static final int REFERENCE_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
public static final int DATETIME_TYPE
public static final int BOOLEAN_TYPE
public static final int PERFORMER_TYPE
public static final int DECLARED_TYPE
public static final int SCHEMA_TYPE
public static final int EXTERNAL_REFERENCE_TYPE
public static final int RECORD_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
public static final int UNION_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
public static final int ENUMERATION_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
public static final int ARRAY_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
public static final int LIST_TYPE
EXTERNAL_REFERENCE_TYPE
or SCHEMA_TYPE
.
Method Detail |
public int value()
STRING_TYPE
, FLOAT_TYPE
,
INTEGER_TYPE
, REFERENCE_TYPE
, DATETIME_TYPE
,
BOOLEAN_TYPE
, PERFORMER_TYPE
, DECLARED_TYPE
,
SCHEMA_TYPE
, EXTERNAL_REFERENCE_TYPE
,
RECORD_TYPE
, UNION_TYPE
, ENUMERATION_TYPE
,
ARRAY_TYPE
, LIST_TYPE
public boolean isAssignableFrom(Type fromType)
fromType
- The type of the 'rvalue'.
true
if a value of type fromType
can
be assigned or converted to a value of type toType
.public Type getImpliedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |