Klasse NonCascadingProperty<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.NonCascadingProperty<S,V>
- Typparameter:
S- is the type of the states of aNonCascadingProperty.V- is the type of the values of aNonCascadingProperty.
- Alle implementierten Schnittstellen:
INameHolder
public final class NonCascadingProperty<S extends Enum<S>, V>
extends AbstractMaterializedProperty<S,V>
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungNonCascadingProperty(String name, Class<S> stateClass, Function<INode<?>, V> valueCreator, Function<V, INode<?>> specificationCreator, BiConsumer<S, V> setterMethod, V defaultValue) NonCascadingProperty(String name, Class<S> stateClass, Function<INode<?>, V> valueCreator, Function<V, INode<?>> specificationCreator, V defaultValue) -
Methodenübersicht
Modifikator und TypMethodeBeschreibungstatic <S2 extends Enum<S2>>
NonCascadingProperty<S2, Double> forDoubleWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Double> setterMethod, double defaultValue) static <S2 extends Enum<S2>>
NonCascadingProperty<S2, Integer> forIntWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Integer> setterMethod, int defaultValue) voidsetEmptyForState(S state) Von Klasse geerbte Methoden AbstractMaterializedProperty
getAssignmentTypeForState, getOptionalValueOfState, getValueOfState, getValueWhenHasState, hasSetterMethod, hasValueForState, hasValueOrIsEmptyForState, setUndefined, setUndefinedForState, setValueForStateVon Klasse geerbte Methoden AbstractProperty
getNameVon Klasse geerbte Methoden Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden INameHolder
getNameInQuotes, hasName, hasSameNameAs
-
Konstruktordetails
-
NonCascadingProperty
-
NonCascadingProperty
-
-
Methodendetails
-
forDoubleWithNameAndStateClassAndSetterMethodAndDefaultValue
public static <S2 extends Enum<S2>> NonCascadingProperty<S2,Double> forDoubleWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Double> setterMethod, double defaultValue) -
forIntWithNameAndStateClassAndSetterMethodAndDefaultValue
public static <S2 extends Enum<S2>> NonCascadingProperty<S2,Integer> forIntWithNameAndStateClassAndSetterMethodAndDefaultValue(String name, Class<S2> stateClass, BiConsumer<S2, Integer> setterMethod, int defaultValue) -
setEmptyForState
-