org.obe.xpdl.model.data
Class BasicType
java.lang.Object
org.obe.util.AbstractEnum
org.obe.xpdl.model.data.BasicType
- All Implemented Interfaces:
- java.lang.Comparable, Enum, java.io.Serializable, Type
- public final class BasicType
- extends AbstractEnum
- implements Type
Data type representing the basic workflow data types.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Fields inherited from interface org.obe.xpdl.model.data.Type |
ARRAY_TYPE, BOOLEAN_TYPE, DATETIME_TYPE, DECLARED_TYPE, DEFAULT_TYPE, ENUMERATION_TYPE, EXTERNAL_REFERENCE_TYPE, FLOAT_TYPE, INTEGER_TYPE, LIST_TYPE, PERFORMER_TYPE, RECORD_TYPE, REFERENCE_TYPE, SCHEMA_TYPE, STRING_TYPE, UNDEFINED_TYPE, UNION_TYPE |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.obe.xpdl.model.data.Type |
value |
STRING
public static final BasicType STRING
FLOAT
public static final BasicType FLOAT
INTEGER
public static final BasicType INTEGER
REFERENCE
public static final BasicType REFERENCE
- Deprecated. Use
ExternalReference
or @SchemaType
.
DATETIME
public static final BasicType DATETIME
BOOLEAN
public static final BasicType BOOLEAN
PERFORMER
public static final BasicType PERFORMER
VALUES
public static final java.util.List VALUES
valueOf
public static BasicType valueOf(int type)
valueOf
public static BasicType valueOf(java.lang.String tag)
getImpliedType
public Type getImpliedType()
- Description copied from interface:
Type
- Returns the actual type implied by this type. Some types behave as
references to other types.
- Specified by:
getImpliedType
in interface Type
- Returns:
- The implied type.
isAssignableFrom
public boolean isAssignableFrom(Type fromType)
- Description copied from interface:
Type
- Checks type compatibility in an assignment.
- Specified by:
isAssignableFrom
in interface Type
- Parameters:
fromType
- The type of the 'rvalue'.
- Returns:
true
if a value of type fromType
can
be assigned or converted to a value of type toType
.
family
public java.util.List family()
- Description copied from interface:
Enum
- Returns an immutable list of the members of the enumerated type.
- Specified by:
family
in interface Enum
- Returns:
- The family of allowed values.
OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.