Package com.walkfares.odsl.var.type
Class DeclaredConstraint
java.lang.Object
com.walkfares.odsl.var.type.DeclaredAttribute
com.walkfares.odsl.var.type.DeclaredConstraint
public class DeclaredConstraint extends DeclaredAttribute
-
Constructor Summary
Constructors Constructor Description DeclaredConstraint()
-
Method Summary
Modifier and Type Method Description DeclaredConstraint
addCondition(String condition)
List<String>
getConditions()
String
getQualityCheck()
boolean
isMark()
DeclaredConstraint
setConditions(List<String> conditions)
DeclaredConstraint
setMark(boolean mark)
DeclaredConstraint
setName(String name)
DeclaredConstraint
setQualityCheck(String qualityCheck)
DeclaredConstraint
setType(String type)
Methods inherited from class com.walkfares.odsl.var.type.DeclaredAttribute
getDisplayName, getErrorText, getName, getType, setDisplayName, setErrorText
-
Constructor Details
-
DeclaredConstraint
public DeclaredConstraint()
-
-
Method Details
-
setName
- Overrides:
setName
in classDeclaredAttribute
-
setType
- Overrides:
setType
in classDeclaredAttribute
-
isMark
public boolean isMark() -
setMark
-
getConditions
-
addCondition
-
setConditions
-
getQualityCheck
-
setQualityCheck
-