| Modifier and Type | Method and Description |
|---|---|
Type<?> |
ParameterDefinition.getType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Argument.matches(Type<?> parameterType)
Returns true if this argument matches given type.
|
ParameterDefinitionBuilder<T> |
ParameterDefinitionBuilder.type(Type<?> type)
Sets parameter type ParameterDefinition.getType()
|
ContextVariableBuilder<T> |
ContextVariableBuilder.type(Type<?> type)
Sets context variable type ContextVariable.getType()
|
| Constructor and Description |
|---|
ParameterDefinition(String id,
Type<T> type) |
ParameterDefinition(String id,
Type<T> type,
LocalizedString name,
LocalizedString description,
boolean optional,
T defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
Type<?>[] |
FunctionOverride.getParameterTypes()
Returns function override parameter types.
|
Type<?> |
FunctionOverride.getReturnType()
Returns function override result type.
|
Type<?> |
FunctionCall.getReturnType()
Returns type of result of
FunctionCall.call() method. |
| Modifier and Type | Method and Description |
|---|---|
FunctionOverride |
Function.getOverride(Type<?>... parameterTypes)
Returns this function override that matches given parameter types.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Function.call(List<Type<?>> parameterTypes,
Object... args)
Invokes this function with given arguments.
|
| Constructor and Description |
|---|
FunctionCall(Function fn,
List<Type<?>> parameterTypes,
Object... args) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
EvaluableType<T>
Type extension used to indicate, that following type objects are evaluable - they
can be translated to another runtime values. |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayType<T>
An array type, mapped to Java array.
|
class |
BooleanType
Boolean type.
|
class |
DateTimeType
Date time type.
|
class |
DateType
Date type.
|
class |
FloatType
Float type.
|
class |
FunctionType
Function type.
|
class |
IntegerType
Integer type.
|
class |
StringType
String type.
|
class |
TypeBase<T>
Type base. |
class |
VariableType
Variable type.
|
| Modifier and Type | Method and Description |
|---|---|
Type<?> |
FunctionType.evaluatedType(FunctionCall value) |
Type<?> |
EvaluableType.evaluatedType(T value)
Returns type of value returned from
EvaluableType.evaluate(Object) method for given value. |
Type<?> |
VariableType.evaluatedType(Variable value) |
static Type<?> |
Types.get(String name)
Returns type with given name.
|
Type<T> |
ArrayType.getElementType()
Returns type
Type of elements in this array type. |
Type<?> |
TypedValue.getEvaluableType()
Returns type, that this value will evaluate to when calling
TypedValue.getEvaluatedValue()
without parameters. |
Type<?> |
BasicTypes.getType()
Returns type instance.
|
Type<T> |
TypedValue.getType()
Returns this value type.
|
static Type<?> |
BasicTypes.of(Class<?> clazz)
Returns basic type that is
isInstance(Class) of given class. |
static Type<?> |
Types.typeOf(Class<?> clazz)
Returns type (one defined in
Types) that represents given class instances. |
static <T> Type<T> |
Types.typeOf(T instance)
Returns type (one defined in
Types) that represents given object. |
| Modifier and Type | Method and Description |
|---|---|
static ArrayType<?> |
Types.arrayOf(Type<?> type)
Returns array type with elements of given type.
|
static boolean |
Types.isArray(Type<?> type)
Returns true if given type is an array
|
static boolean |
BasicTypes.isBasic(Type<?> type)
Checks if given type is one of BasicTypes.
|
boolean |
TypedValue.isInstanceOf(Type<?> target)
Checks if this value is instance of specified type.
|
static <T> TypedValue<T> |
TypedValue.nullValue(Type<T> type)
Creates null value with given type.
|
| Constructor and Description |
|---|
TypedValue(T value,
Type<T> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
JsonTypeBase<T>
TypeBase extension that simplifies implementation of JsonSerializable interface. |
| Modifier and Type | Method and Description |
|---|---|
Type<T> |
ContextVariable.getType()
Returns context variable type.
|
| Constructor and Description |
|---|
ContextVariable(String id,
LocalizedString name,
LocalizedString description,
Type<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Type<?>[] |
FunctionDeclaration.getParameterTypesArray() |
Type<?> |
ParameterValue.getType() |
Type<?> |
ConditionDeclaration.getType() |
| Modifier and Type | Method and Description |
|---|---|
List<Type<?>> |
FunctionDeclaration.getParameterTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
FunctionDeclaration.addParameterTypes(Type<?> type) |
void |
ParameterValue.setType(Type<?> type) |
void |
ConditionDeclaration.setType(Type<?> type) |
| Constructor and Description |
|---|
ConditionDeclaration(Type<?> type,
FunctionDeclaration declaration) |
ParameterValue(Type<?> type,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
Type<?> |
MappingDeclaration.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
MappingDeclaration.setType(Type<?> type) |
| Modifier and Type | Method and Description |
|---|---|
Type<?> |
Variable.getBasicType()
Returns basic type from xpdl declaration.
|
Type<?> |
Variable.getType()
Returns variable type.
|
Copyright © 2018 Suncode. All rights reserved.