- All Implemented Interfaces:
Validator<Long>
Implementation of validator for y and z field. (Location) / Same validation rules.
- Since:
- 1.0
-
Constructor Summary
Constructors
-
Method Summary
boolean
Checks if value not null.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LocationYZValidator
public LocationYZValidator()
-
Method Details
-
validate
public boolean validate(Long value)
Checks if value not null.
- Specified by:
validate
in interface Validator<Long>
- Parameters:
value
- value to validate
- Returns:
- true/false -- matches the restrictions
- See Also:
-