public abstract class Validator extends Object implements ValidatorInterface
| Constructor and Description |
|---|
Validator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
cutUnitOfMeasure(String value)
Cuts the unit of measure from a given string (and all whitespaces) and returns the pure number.
|
String |
getUnitOfMeasure() |
boolean |
isCaseSensitive() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setUnitOfMeasure(String unitOfMeasure) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic boolean isCaseSensitive()
public void setCaseSensitive(boolean caseSensitive)
protected String cutUnitOfMeasure(String value)
value - a number (unchecked) maybe including the defined unit of measurepublic String getUnitOfMeasure()
public void setUnitOfMeasure(String unitOfMeasure)
Copyright © 2020 Samply Community. All rights reserved.