Klasse CascadingProperty<S extends Enum<S>, V>
java.lang.Object
ch.nolix.system.element.multistateconfiguration.AbstractProperty<S>
ch.nolix.system.element.multistateconfiguration.AbstractMaterializedProperty<S,V>
ch.nolix.system.element.multistateconfiguration.CascadingProperty<S,V>
- Typparameter:
S- is the type of the states of aCascadingProperty.V- is the type of the values of aCascadingProperty.
- Alle implementierten Schnittstellen:
INameHolder
public final class CascadingProperty<S extends Enum<S>, V>
extends AbstractMaterializedProperty<S,V>
- Autor:
- Silvan Wyss
-
Feldübersicht
Von Klasse geerbte Felder AbstractMaterializedProperty
statePropertiesVon Klasse geerbte Felder AbstractProperty
parent -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCascadingProperty(String name, Class<S> stateClass, Function<INode<?>, V> valueCreator, Function<V, INode<?>> specificationCreator, BiConsumer<S, V> setterMethod, V defaultValue) CascadingProperty(String name, Class<S> stateClass, Function<INode<?>, V> valueCreator, Function<V, INode<?>> specificationCreator, V defaultValue) -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic <S2 extends Enum<S2>>
CascadingProperty<S2, Boolean> forBooleanWithNameAndStateClassAndDefaultValue(String name, Class<S2> stateClass, boolean defaultValue) static <S2 extends Enum<S2>>
CascadingProperty<S2, Integer> forIntWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Integer> setterMethod, int defaultValue) protected VgetValueWhenHasState(ch.nolix.system.element.multistateconfiguration.State<S> state) protected booleanhasValueWhenHasState(ch.nolix.system.element.multistateconfiguration.State<S> state) Von Klasse geerbte Methoden AbstractMaterializedProperty
fillUpValuesSpecificationInto, getAssignmentTypeForState, getOptionalValueOfState, getStateOf, getStoredBaseStateProperty, getValueOfState, getValueWhenHasState, hasSetterMethod, hasValueForState, hasValueOrIsEmptyForState, setFrom, setUndefined, setUndefinedForState, setValueForState, setValueFromSpecificationVon Klasse geerbte Methoden AbstractProperty
getNameVon Klasse geerbte Methoden Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden INameHolder
getNameInQuotes, hasName, hasSameNameAs
-
Konstruktordetails
-
CascadingProperty
-
CascadingProperty
-
-
Methodendetails
-
forBooleanWithNameAndStateClassAndDefaultValue
public static <S2 extends Enum<S2>> CascadingProperty<S2,Boolean> forBooleanWithNameAndStateClassAndDefaultValue(String name, Class<S2> stateClass, boolean defaultValue) -
forIntWithNameAndStateClassAndSetterMethodAndDefaultValue
public static <S2 extends Enum<S2>> CascadingProperty<S2,Integer> forIntWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Integer> setterMethod, int defaultValue) -
getValueWhenHasState
- Angegeben von:
getValueWhenHasStatein KlasseAbstractMaterializedProperty<S extends Enum<S>, V>
-
hasValueWhenHasState
protected boolean hasValueWhenHasState(ch.nolix.system.element.multistateconfiguration.State<S> state) - Angegeben von:
hasValueWhenHasStatein KlasseAbstractMaterializedProperty<S extends Enum<S>, V>
-