@Deprecated
public class TypeDescriptor
extends java.lang.Object
TypedVariable
types.
This class follows the typesafe enumeration idiom, and instances can be
accessed through the getByType()
factory methods.TypedVariable
Modifier and Type | Field and Description |
---|---|
static TypeDescriptor |
BEAN
Deprecated.
|
static TypeDescriptor |
BOOLEAN
Deprecated.
|
static int |
CLASS_APPIAN
Deprecated.
|
static int |
CLASS_NONE
Deprecated.
|
static int |
CLASS_PRIMARY
Deprecated.
|
static TypeDescriptor |
COLLABORATION_COMMUNITY
Deprecated.
|
static TypeDescriptor |
CONTENT
Deprecated.
|
static int |
DATATYPE_BEAN
Deprecated.
|
static int |
DATATYPE_BOOLEAN
Deprecated.
|
static int |
DATATYPE_CONTENT
Deprecated.
|
static int |
DATATYPE_DATE
Deprecated.
|
static int |
DATATYPE_DATETIME
Deprecated.
|
static int |
DATATYPE_DEFERRED
Deprecated.
|
static int |
DATATYPE_DOUBLE
Deprecated.
|
static int |
DATATYPE_EMAIL_RECIPIENT
Deprecated.
|
static int |
DATATYPE_LONG
Deprecated.
|
static int |
DATATYPE_PEOPLE
Deprecated.
|
static int |
DATATYPE_STRING
Deprecated.
|
static int |
DATATYPE_TIME
Deprecated.
|
static int |
DATATYPE_UNKNOWN
Deprecated.
|
static TypeDescriptor |
DATE
Deprecated.
|
static TypeDescriptor |
DATETIME
Deprecated.
|
static TypeDescriptor |
DEFERRED
Deprecated.
|
static TypeDescriptor |
DOCUMENT
Deprecated.
|
static TypeDescriptor |
DOUBLE
Deprecated.
|
static TypeDescriptor |
EMAIL_ADDRESS
Deprecated.
|
static TypeDescriptor |
EMAIL_RECIPIENT
Deprecated.
|
static TypeDescriptor |
EVENT
Deprecated.
|
static TypeDescriptor |
FOLDER
Deprecated.
|
static TypeDescriptor |
FORUM
Deprecated.
|
static TypeDescriptor |
GROUP
Deprecated.
|
static TypeDescriptor |
KNOWLEDGE_CENTER
Deprecated.
|
static TypeDescriptor |
LONG
Deprecated.
|
static TypeDescriptor |
MESSAGE
Deprecated.
|
static TypeDescriptor |
PAGE
Deprecated.
|
static TypeDescriptor |
PASSWORD
Deprecated.
|
static TypeDescriptor |
PEOPLE
Deprecated.
|
static TypeDescriptor |
PROCESS
Deprecated.
|
static TypeDescriptor |
PROCESS_MODEL
Deprecated.
|
static TypeDescriptor |
STRING
Deprecated.
|
static TypeDescriptor |
THREAD
Deprecated.
|
static TypeDescriptor |
TIME
Deprecated.
|
static TypeDescriptor |
USER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TypeDescriptor |
getByType(int type_)
Deprecated.
Retrieves the type descriptor for the given
TypedVariable
type. |
static TypeDescriptor |
getByType(java.lang.Long type_)
Deprecated.
Retrieves the type descriptor for the given
TypedVariable
type. |
int |
getClassType()
Deprecated.
Gets the type classification of this type.
|
int |
getDataType()
Deprecated.
Gets the underlying datatype of this type.
|
int |
getType()
Deprecated.
Gets the
TypedVariable type that this type descriptor
describes. |
java.lang.Class |
getUnderlyingClass()
Deprecated.
Gets the class of the objects that should be set as the value for this
type.
|
boolean |
isDesignTimeOnly()
Deprecated.
Determines whether this type is only supported at design time.
|
boolean |
isPossiblyMultiple()
Deprecated.
Determines whether this type can support multiple values.
|
public static final int CLASS_NONE
public static final int CLASS_PRIMARY
public static final int CLASS_APPIAN
public static final int DATATYPE_UNKNOWN
public static final int DATATYPE_DATE
public static final int DATATYPE_TIME
public static final int DATATYPE_DATETIME
public static final int DATATYPE_LONG
public static final int DATATYPE_DOUBLE
public static final int DATATYPE_STRING
public static final int DATATYPE_BOOLEAN
public static final int DATATYPE_PEOPLE
public static final int DATATYPE_CONTENT
public static final int DATATYPE_BEAN
public static final int DATATYPE_DEFERRED
public static final int DATATYPE_EMAIL_RECIPIENT
public static final TypeDescriptor DATE
public static final TypeDescriptor TIME
public static final TypeDescriptor DATETIME
public static final TypeDescriptor LONG
public static final TypeDescriptor DOUBLE
public static final TypeDescriptor STRING
public static final TypeDescriptor BOOLEAN
public static final TypeDescriptor USER
public static final TypeDescriptor GROUP
public static final TypeDescriptor PEOPLE
public static final TypeDescriptor EMAIL_ADDRESS
public static final TypeDescriptor EMAIL_RECIPIENT
public static final TypeDescriptor DOCUMENT
public static final TypeDescriptor FOLDER
public static final TypeDescriptor CONTENT
public static final TypeDescriptor KNOWLEDGE_CENTER
public static final TypeDescriptor COLLABORATION_COMMUNITY
public static final TypeDescriptor PAGE
public static final TypeDescriptor MESSAGE
public static final TypeDescriptor THREAD
public static final TypeDescriptor FORUM
public static final TypeDescriptor BEAN
public static final TypeDescriptor PASSWORD
public static final TypeDescriptor DEFERRED
public static final TypeDescriptor EVENT
public static final TypeDescriptor PROCESS_MODEL
public static final TypeDescriptor PROCESS
public static final TypeDescriptor getByType(int type_)
TypedVariable
type.type_
- The type of the descriptor to return; this should be one of
the TypedVariable
constants defined in
TypedVariable
.null
if no descriptor exists
for this type.public static final TypeDescriptor getByType(java.lang.Long type_)
TypedVariable
type.type_
- A Long
holding the type of the descriptor to
return; this should be one of the TypedVariable
constants
defined in TypedVariable
.null
if no descriptor exists
for this type or if the passed object is null
.public int getClassType()
public int getDataType()
public boolean isDesignTimeOnly()
true
if the type is only supported at design time, and
false
otherwisepublic boolean isPossiblyMultiple()
true
if the type supports multiples, and
false
otherwisepublic int getType()
TypedVariable
type that this type descriptor
describes.TypedVariable
constants defined in
TypedVariable
.public java.lang.Class getUnderlyingClass()
java.lang.Long
.
Variables of type DEFERRED have no value, so their underlying class is
null
. Variables of type BEAN should have values that are of
the same class as the variable (such as
ActivityClassParameter
), and should always be arrays. For
all other types, the class returned is a scalar, and if the variable
supports multiple values, the value should be set as an array of objects
of that class.Copyright © 2003-2023 Appian Corporation. All Rights Reserved.