Package org.teamapps.dto
Class UiValidationRule
- java.lang.Object
-
- org.teamapps.dto.UiMatcherRule
-
- org.teamapps.dto.UiValidationRule
-
- All Implemented Interfaces:
UiObject
public class UiValidationRule extends UiMatcherRule implements UiObject
THIS IS GENERATED CODE! PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUiValidationRule.DisplayType
-
Field Summary
Fields Modifier and Type Field Description protected booleancheckOnFieldUpdateprotected UiValidationRule.DisplayTypedisplayTypeprotected java.lang.StringerrorMessageprotected booleanmarkFieldsThatRuleMatches-
Fields inherited from class org.teamapps.dto.UiMatcherRule
executeRuleIfAnyMatcherMatches, valueMatcher
-
-
Constructor Summary
Constructors Constructor Description UiValidationRule()Deprecated.Only for Jackson deserialization.UiValidationRule(java.util.List<UiValueMatcher> valueMatcher, java.lang.String errorMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCheckOnFieldUpdate()UiValidationRule.DisplayTypegetDisplayType()java.lang.StringgetErrorMessage()booleangetMarkFieldsThatRuleMatches()UiObjectTypegetUiObjectType()UiValidationRulesetCheckOnFieldUpdate(boolean checkOnFieldUpdate)UiValidationRulesetDisplayType(UiValidationRule.DisplayType displayType)UiValidationRulesetExecuteRuleIfAnyMatcherMatches(boolean executeRuleIfAnyMatcherMatches)UiValidationRulesetMarkFieldsThatRuleMatches(boolean markFieldsThatRuleMatches)java.lang.StringtoString()-
Methods inherited from class org.teamapps.dto.UiMatcherRule
getExecuteRuleIfAnyMatcherMatches, getValueMatcher
-
-
-
-
Field Detail
-
displayType
protected UiValidationRule.DisplayType displayType
-
errorMessage
protected java.lang.String errorMessage
-
markFieldsThatRuleMatches
protected boolean markFieldsThatRuleMatches
-
checkOnFieldUpdate
protected boolean checkOnFieldUpdate
-
-
Constructor Detail
-
UiValidationRule
@Deprecated public UiValidationRule()
Deprecated.Only for Jackson deserialization. Use the other constructor instead.
-
UiValidationRule
public UiValidationRule(java.util.List<UiValueMatcher> valueMatcher, java.lang.String errorMessage)
-
-
Method Detail
-
getUiObjectType
public UiObjectType getUiObjectType()
- Specified by:
getUiObjectTypein interfaceUiObject- Overrides:
getUiObjectTypein classUiMatcherRule
-
toString
public java.lang.String toString()
- Overrides:
toStringin classUiMatcherRule
-
getDisplayType
public UiValidationRule.DisplayType getDisplayType()
-
getErrorMessage
public java.lang.String getErrorMessage()
-
getMarkFieldsThatRuleMatches
public boolean getMarkFieldsThatRuleMatches()
-
getCheckOnFieldUpdate
public boolean getCheckOnFieldUpdate()
-
setExecuteRuleIfAnyMatcherMatches
public UiValidationRule setExecuteRuleIfAnyMatcherMatches(boolean executeRuleIfAnyMatcherMatches)
- Overrides:
setExecuteRuleIfAnyMatcherMatchesin classUiMatcherRule
-
setDisplayType
public UiValidationRule setDisplayType(UiValidationRule.DisplayType displayType)
-
setMarkFieldsThatRuleMatches
public UiValidationRule setMarkFieldsThatRuleMatches(boolean markFieldsThatRuleMatches)
-
setCheckOnFieldUpdate
public UiValidationRule setCheckOnFieldUpdate(boolean checkOnFieldUpdate)
-
-