public interface ImmutableAgeableData extends ImmutableDataManipulator<ImmutableAgeableData,AgeableData>
ImmutableDataManipulator
for handling the "age" of an
Entity
.Modifier and Type | Method and Description |
---|---|
ImmutableValue<Boolean> |
adult()
Gets the
ImmutableValue for whether the age() is
considered to be an "adult". |
ImmutableBoundedValue<Integer> |
age()
Gets the
ImmutableBoundedValue for the "age" state. |
asMutable, copy, with, with
getContentVersion, toContainer
ImmutableBoundedValue<Integer> age()
ImmutableBoundedValue
for the "age" state.ImmutableValue<Boolean> adult()
ImmutableValue
for whether the age()
is
considered to be an "adult".