| Package | Description |
|---|---|
| org.openksavi.sponge.action |
Interfaces for actions.
|
| org.openksavi.sponge.type |
| Modifier and Type | Class and Description |
|---|---|
class |
ArgMeta<T extends DataType>
An action argument metadata.
|
class |
ResultMeta<T extends DataType>
An action result metadata.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedType<T>
An annotated type.
|
class |
AnyType
Any type.
|
class |
BinaryType
A binary (byte array) type.
|
class |
BooleanType
A boolean type.
|
class |
IntegerType
An integer type that supports long as well (internally uses
Number). |
class |
ListType<E>
A list type.
|
class |
MapType<K,V>
A map type.
|
class |
NumberType
A number type, that include both integer and floating-point numbers.
|
class |
ObjectType<T>
An object.
|
class |
StringType
A string type.
|
class |
VoidType
A void type that may be used to specify that an action returns no meaningful result.
|
| Modifier and Type | Method and Description |
|---|---|
DataType<T> |
DataType.defaultValue(T value) |
DataType<T> |
DataType.feature(String name,
Object value) |
DataType<T> |
DataType.features(Map<String,Object> features) |
DataType<T> |
DataType.format(String format) |
DataType<E> |
ListType.getElementType() |
DataType<K> |
MapType.getKeyType() |
DataType<V> |
MapType.getValueType() |
DataType<T> |
AnnotatedType.getValueType() |
DataType<T> |
DataType.nullable() |
DataType<T> |
DataType.nullable(boolean nullable) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends DataType> |
DataTypeKind.getTypeClass() |
| Constructor and Description |
|---|
AnnotatedType(DataType<T> valueType) |
ListType(DataType<E> elementType) |
MapType(DataType<K> keyType,
DataType<V> valueType) |
MapType(DataType<K> keyType,
DataType<V> valueType) |
Copyright © 2016–2019 Softelnet. All rights reserved.