T
- a generic type that represents a BoundaryTagpublic abstract class BoundaryDecimal<T extends BoundaryActionDecimal> extends Object implements CustomTagExtension<T>
Constructor and Description |
---|
BoundaryDecimal() |
Modifier and Type | Method and Description |
---|---|
String |
constructData(BigDecimal boundary,
int minLen,
int maxLen,
int[] lengths,
boolean upperBound) |
List<String> |
negative(boolean nullable,
BigDecimal min,
BigDecimal max,
int minLen,
int maxLen,
int[] lengths) |
List<String> |
positive(boolean nullable,
BigDecimal min,
BigDecimal max,
int minLen,
int maxLen,
int[] lengths) |
List<Map<String,String>> |
returnStates(T action,
List<Map<String,String>> possibleStateList,
List<String> variableValue) |
List<String> |
setParameters(T action,
boolean positive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTagActionClass, getTagName, getTagNameSpace, pipelinePossibleStates
public List<String> setParameters(T action, boolean positive)
action
- an Action of the type handled by this classpositive
- a boolean denoting positive or negative casespublic List<String> negative(boolean nullable, BigDecimal min, BigDecimal max, int minLen, int maxLen, int[] lengths)
nullable
- nullablemin
- minimum valuemax
- maximum valueminLen
- minimum lengthmaxLen
- maximum lengthlengths
- number of leading and trailing digitspublic List<String> positive(boolean nullable, BigDecimal min, BigDecimal max, int minLen, int maxLen, int[] lengths)
nullable
- nullablemin
- minimum valuemax
- maximum valueminLen
- minimum lengthmaxLen
- maximum lengthlengths
- number of leading and trailing digitspublic String constructData(BigDecimal boundary, int minLen, int maxLen, int[] lengths, boolean upperBound)
boundary
- the min or max valueminLen
- the min LengthmaxLen
- the max Lengthlengths
- the length parameters for decimal fieldupperBound
- boolean for upperBound boundpublic List<Map<String,String>> returnStates(T action, List<Map<String,String>> possibleStateList, List<String> variableValue)
action
- an Action of the type handled by this classpossibleStateList
- a current list of possible states produced so far from
expanding a model statevariableValue
- a list storing the valuesCopyright © 2016. All rights reserved.