Interface KeyContext
public interface KeyContext
-
Method Summary
Modifier and TypeMethodDescription<T> OptionalPropertyContext<T>
<T> OptionalPropertyContext<BeanReference<? extends T>>
asBeanReference
(Class<T> expectedBeanType) default OptionalPropertyContext<Integer>
Deprecated.default OptionalPropertyContext<Long>
asLong()
Deprecated.UseasLongPositiveOrZeroOrNegative()
instead.asString()
-
Method Details
-
asString
OptionalPropertyContext<String> asString() -
asBoolean
OptionalPropertyContext<Boolean> asBoolean() -
asInteger
Deprecated.UseasIntegerPositiveOrZeroOrNegative()
instead.- Returns:
- The next context.
-
asIntegerPositiveOrZeroOrNegative
OptionalPropertyContext<Integer> asIntegerPositiveOrZeroOrNegative() -
asIntegerPositiveOrZero
OptionalPropertyContext<Integer> asIntegerPositiveOrZero() -
asIntegerStrictlyPositive
OptionalPropertyContext<Integer> asIntegerStrictlyPositive() -
asLong
Deprecated.UseasLongPositiveOrZeroOrNegative()
instead.- Returns:
- The next context.
-
asLongPositiveOrZeroOrNegative
OptionalPropertyContext<Long> asLongPositiveOrZeroOrNegative() -
asLongStrictlyPositive
OptionalPropertyContext<Long> asLongStrictlyPositive() -
asBeanReference
-
as
-
asIntegerPositiveOrZeroOrNegative()
instead.