| Package | Description |
|---|---|
| org.cornutum.tcases.openapi.resolver |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayValue<T>
Represents a generated array value for a request case.
|
class |
Base64Value
Represents a generated base64 address value for a request case.
|
class |
BinaryValue
Represents a generated binary value for a request case.
|
class |
BooleanValue
Represents a generated boolean value for a request case.
|
class |
DateTimeValue
Represents a generated time string value for a request case.
|
class |
DateValue
Represents a generated date string value for a request case.
|
class |
DecimalValue
Represents a generated de value for a request case.
|
class |
EmailValue
Represents a generated email address value for a request case.
|
class |
IntegerValue
Represents a generated integer value for a request case.
|
class |
LongValue
Represents a generated long value for a request case.
|
class |
NullValue
Represents a generated null value for a request case.
|
class |
ObjectValue
Represents a generated object value for a request case.
|
class |
StringValue
Represents a generated string value for a request case.
|
class |
UuidValue
Represents a generated UUID string value for a request case.
|
| Modifier and Type | Method and Description |
|---|---|
protected DataValue<BigDecimal> |
DecimalDomain.dataValueOf(BigDecimal value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<BigDecimal> |
DecimalEnum.dataValueOf(BigDecimal value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<BigDecimal> |
DecimalConstant.dataValueOf(BigDecimal value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Boolean> |
BooleanConstant.dataValueOf(Boolean value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Boolean> |
BooleanEnum.dataValueOf(Boolean value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<byte[]> |
BinaryDomain.dataValueOf(byte[] value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<byte[]> |
BinaryConstant.dataValueOf(byte[] value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Integer> |
IntegerConstant.dataValueOf(Integer value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Integer> |
IntegerEnum.dataValueOf(Integer value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Integer> |
IntegerDomain.dataValueOf(Integer value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<List<DataValue<T>>> |
ArrayDomain.dataValueOf(List<DataValue<T>> value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Long> |
LongConstant.dataValueOf(Long value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Long> |
LongEnum.dataValueOf(Long value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Long> |
LongDomain.dataValueOf(Long value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Map<String,DataValue<?>>> |
ObjectDomain.dataValueOf(Map<String,DataValue<?>> value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Object> |
MultiTypeDomain.dataValueOf(Object value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Object> |
NullDomain.dataValueOf(Object value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
Base64Domain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateTimeEnum.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
StringEnum.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateConstant.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
StringConstant.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateTimeConstant.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
EmailEnum.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
UuidDomain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
EmailDomain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
EmailConstant.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
UuidEnum.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateDomain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
AbstractStringDomain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
UuidConstant.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateTimeDomain.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<String> |
DateEnum.dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected abstract DataValue<T> |
AbstractValueDomain.dataValueOf(T value)
Returns a
DataValue for the given value in this domain. |
DataValue<?> |
MessageData.getValue()
Returns the data value.
|
static <T> DataValue<T> |
DataValue.of(T value,
DataValue.Type type,
String format)
Creates a new DataValue instance.
|
default DataValue<T> |
ValueDomain.select(ResolverContext context)
Returns a random value from this domain.
|
DataValue<Object> |
NullDomain.select(ResolverContext context)
Returns a random value from this domain.
|
| Modifier and Type | Method and Description |
|---|---|
protected DataValue<List<DataValue<T>>> |
ArrayDomain.dataValueOf(List<DataValue<T>> value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Map<String,DataValue<?>>> |
ObjectDomain.dataValueOf(Map<String,DataValue<?>> value)
Returns a
DataValue for the given value in this domain. |
Stream<DataValue<BigDecimal>> |
DecimalDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Object>> |
MultiTypeDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<T>> |
EnumDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<T>> |
ValueDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<T>> |
SequenceDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<List<DataValue<T>>>> |
ArrayDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<List<DataValue<T>>>> |
ArrayDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Map<String,DataValue<?>>>> |
ObjectDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Map<String,DataValue<?>>>> |
ObjectDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Long>> |
LongDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Integer>> |
IntegerDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<Object>> |
NullDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
Stream<DataValue<T>> |
ConstantDomain.values(ResolverContext context)
Returns a random sequence of values from this domain.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
ValueDomain.contains(DataValue<?> value)
Returns true if the given value belongs to this domain.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ArrayDomain.contains(List<DataValue<T>> value)
Returns true if the given value belongs to this domain.
|
boolean |
ObjectDomain.contains(Map<String,DataValue<?>> value)
Returns true if the given value belongs to this domain.
|
protected DataValue<List<DataValue<T>>> |
ArrayDomain.dataValueOf(List<DataValue<T>> value)
Returns a
DataValue for the given value in this domain. |
protected DataValue<Map<String,DataValue<?>>> |
ObjectDomain.dataValueOf(Map<String,DataValue<?>> value)
Returns a
DataValue for the given value in this domain. |
| Constructor and Description |
|---|
MessageData(DataValue<?> value,
String mediaType,
boolean valid)
Creates a new MessageData instance.
|
ParamData(String name,
DataValue<?> value,
String mediaType,
boolean valid)
Creates a new ParamData instance.
|
| Constructor and Description |
|---|
ArrayValue(List<DataValue<T>> value)
Creates a new ArrayValue instance.
|
ObjectValue(Map<String,DataValue<?>> value)
Creates a new ObjectValue instance.
|
Copyright © 2020 The Cornutum Project. All rights reserved.