Package | Description |
---|---|
org.cornutum.tcases | |
org.cornutum.tcases.openapi.resolver | |
org.cornutum.tcases.resolve |
Modifier and Type | Method and Description |
---|---|
static SchemaBuilder |
SystemInputs.schema(DataValue.Type type)
Returns a builder for a new
Schema with the given type. |
Modifier and Type | Method and Description |
---|---|
DataValue.Type |
MessageData.getType()
Returns the data value type.
|
static DataValue.Type[] |
VarProperties.getValueTypes(Map<String,Object> propertyValues)
Returns the accepted value types represented by the given properties.
|
Modifier and Type | Method and Description |
---|---|
static ValueDomain<?> |
VarProperties.toNumberDomain(DataValue.Type type,
Map<String,Object> propertyValues)
Returns the number domain specified by the given properties.
|
static ValueDomain<?> |
VarProperties.toNumberItemsDomain(DataValue.Type type,
Map<String,Object> propertyValues)
Returns the number domain specified by the given properties.
|
Modifier and Type | Method and Description |
---|---|
static DataValue.Type[] |
DataValue.Type.any()
Returns the set of all non-null types.
|
default DataValue.Type |
ValueDomain.getType()
If this domain contains only values of a single type, returns that type.
|
DataValue.Type |
Schema.getType()
Returns the type of input values.
|
DataValue.Type |
DataValue.getType()
Returns the data type.
|
DataValue.Type[] |
ValueDomain.getTypes()
Returns the type(s) of values that belong to this domain.
|
DataValue.Type[] |
SequenceDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
ObjectDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
NumberDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
NullDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
MultiTypeDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
LengthDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
EnumDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
ConstantDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue.Type[] |
ArrayDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
static DataValue.Type[] |
DataValue.Type.not(DataValue.Type... excluded)
Returns the set of all non-null types except for the specified excluded type.
|
static DataValue.Type[] |
DataValue.Type.only(DataValue.Type type)
Returns the set containing only the specified type.
|
static DataValue.Type |
DataValue.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataValue.Type[] |
DataValue.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static DataValue.Type[] |
DataValue.Type.not(DataValue.Type... excluded)
Returns the set of all non-null types except for the specified excluded type.
|
static <T> DataValue<T> |
DataValue.of(T value,
DataValue.Type type,
String format)
Creates a new DataValue instance.
|
static DataValue.Type[] |
DataValue.Type.only(DataValue.Type type)
Returns the set containing only the specified type.
|
static SchemaBuilder |
SchemaBuilder.type(DataValue.Type type)
Returns a builder for a schema of the given type.
|
Constructor and Description |
---|
ConstantDomain(DataValue.Type type,
T value)
Creates a new ConstantDomain instance.
|
DataValue(T value,
DataValue.Type type,
String format)
Creates a new DataValue instance.
|
EnumDomain(DataValue.Type type,
Collection<T> enums)
Creates a new EnumDomain instance.
|
EnumDomain(DataValue.Type type,
Iterable<String> enums)
Creates a new EnumDomain instance.
|
MultiTypeDomain(Characters chars,
DataValue.Type... types)
Creates a new MultiTypeDomain instance.
|
MultiTypeDomain(DataValue.Type... types)
Creates a new MultiTypeDomain instance.
|
NumberDomain(DataValue.Type type,
long maxRange)
Creates a new NumberDomain instance.
|
Schema(DataValue.Type type)
Creates a new Schema instance of the given type.
|
Copyright © 2024 The Cornutum Project. All rights reserved.