Package org.openremote.model.value
Class ValueConstraint.NotNull
java.lang.Object
org.openremote.model.value.ValueConstraint
org.openremote.model.value.ValueConstraint.NotNull
- All Implemented Interfaces:
Serializable
- Enclosing class:
ValueConstraint
The attribute value must not be null. Accepts any type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openremote.model.value.ValueConstraint
ValueConstraint.AllowedValues, ValueConstraint.Future, ValueConstraint.FutureOrPresent, ValueConstraint.Max, ValueConstraint.Min, ValueConstraint.NotBlank, ValueConstraint.NotEmpty, ValueConstraint.NotNull, ValueConstraint.Past, ValueConstraint.PastOrPresent, ValueConstraint.Pattern, ValueConstraint.Size
-
Field Summary
Fields inherited from class org.openremote.model.value.ValueConstraint
ALLOWED_VALUES_MESSAGE_TEMPLATE, FUTURE_MESSAGE_TEMPLATE, FUTURE_OR_PRESENT_MESSAGE_TEMPLATE, MAX_MESSAGE_TEMPLATE, message, MIN_MESSAGE_TEMPLATE, NOT_BLANK_MESSAGE_TEMPLATE, NOT_EMPTY_MESSAGE_TEMPLATE, NOT_NULL_MESSAGE_TEMPLATE, PAST_MESSAGE_TEMPLATE, PAST_OR_PRESENT_MESSAGE_TEMPLATE, PATTERN_MESSAGE_TEMPLATE, SIZE_MESSAGE_TEMPLATE, VALUE_CONSTRAINT_INVALID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openremote.model.value.ValueConstraint
constraints, getMessage
-
Constructor Details
-
NotNull
public NotNull()
-
-
Method Details
-
setMessage
-
evaluate
- Specified by:
evaluate
in classValueConstraint
-
getParameters
- Specified by:
getParameters
in classValueConstraint
-
toString
-