Klasse NonCascadingProperty<S extends Enum<S>, V>

Typparameter:
S - is the type of the states of a NonCascadingProperty.
V - is the type of the values of a NonCascadingProperty.
Alle implementierten Schnittstellen:
INameHolder

public final class NonCascadingProperty<S extends Enum<S>, V> extends AbstractMaterializedProperty<S,V>
Autor:
Silvan Wyss
  • Konstruktordetails

  • 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

      public void setEmptyForState(S state)