Class LocationYZValidator

java.lang.Object
models.validators.LocationYZValidator
All Implemented Interfaces:
Validator<Long>

public class LocationYZValidator extends Object implements Validator<Long>
Implementation of validator for y and z field. (Location) / Same validation rules.
Since:
1.0
  • 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: