| Package | Description |
|---|---|
| org.cornutum.tcases.openapi.resolver |
| Modifier and Type | Method and Description |
|---|---|
static DataValue.Type[] |
DataValue.Type.any()
Returns the set of all non-null types.
|
DataValue.Type |
DataValue.getType()
Returns the data type.
|
DataValue.Type[] |
MultiTypeDomain.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[] |
ValueDomain.getTypes()
Return 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[] |
ArrayDomain.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[] |
ConstantDomain.getTypes()
Return the type(s) of values that belong to this domain.
|
static DataValue.Type[] |
VarProperties.getValueTypes(Map<String,Object> propertyValues)
Returns the accepted value types represented by the given properties.
|
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 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.
|
| 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(DataValue.Type... types)
Creates a new MultiTypeDomain instance.
|
NumberDomain(DataValue.Type type,
long maxRange)
Creates a new NumberDomain instance.
|
Copyright © 2020 The Cornutum Project. All rights reserved.