public class LongConstraint extends RequiredIfConstraint
LongConstraint class represents a constraint of type Long,
    including the required ranges.| Constructor and Description | 
|---|
| LongConstraint(java.lang.String identifierIn)This will create a new  Constraintswith the specified
    identifier as the "name". | 
| Modifier and Type | Method and Description | 
|---|---|
| ValidatorError | checkConstraint(java.lang.Object value)Check the field against this Constraint to see
 if it is in a valid state. | 
| java.lang.Long | getMaxInclusive()This will return the maximum allowed value for this data type (inclusive). | 
| java.lang.Long | getMinInclusive()This will return the minimum allowed value for this data type (inclusive). | 
| void | setMaxInclusive(java.lang.Long maxInclusiveIn)This will set the maximum allowed value for this data type (inclusive). | 
| void | setMinInclusive(java.lang.Long minInclusiveIn)This will set the minimum allowed value for this data type (inclusive). | 
addField, isRequiredgetASCII, getDataType, getIdentifier, getOptional, getPosix, getUserName, isPosix, isValidUserName, setASCII, setDataType, setOptional, setPosix, setUserName, toStringpublic LongConstraint(java.lang.String identifierIn)
Constraints with the specified
    identifier as the "name".identifierIn - String identifier for Constraint.public ValidatorError checkConstraint(java.lang.Object value)
checkConstraint in interface ConstraintcheckConstraint in class ParsedConstraintvalue - the value to checkpublic void setMinInclusive(java.lang.Long minInclusiveIn)
minInclusiveIn - minimum allowed value (inclusive)public java.lang.Long getMinInclusive()
Double - minimum value allowed (inclusive)public void setMaxInclusive(java.lang.Long maxInclusiveIn)
maxInclusiveIn - maximum allowed value (inclusive)public java.lang.Long getMaxInclusive()
Double - maximum value allowed (inclusive)