|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.datamodel.ProductNodeNameValidator
public class ProductNodeNameValidator
| Field Summary | |
|---|---|
static String |
PRODUCT_PROPERTY_KEY
This key should only be specified if the requested productNodeName have to be unique inside the given product. |
| Constructor Summary | |
|---|---|
ProductNodeNameValidator()
|
|
| Method Summary | |
|---|---|
boolean |
equalValues(Parameter parameter,
Object value1,
Object value2)
Tests if the given two values are equal taking the given parameter information into account. |
String |
format(Parameter parameter,
Object value)
Converts the given value into a text taking the given parameter information into account. |
Object |
parse(Parameter parameter,
String text)
Converts the given text into a value taking the given parameter information into account. |
void |
validate(Parameter parameter,
Object value)
Tests if the given value passes all constraints given in the supplied parameter information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PRODUCT_PROPERTY_KEY
| Constructor Detail |
|---|
public ProductNodeNameValidator()
| Method Detail |
|---|
public boolean equalValues(Parameter parameter,
Object value1,
Object value2)
ParamValidator
equalValues in interface ParamValidatorparameter - the parameter, must not be nullvalue1 - the first value, can be nullvalue2 - the second value, can also be null
true if the value are equal, false otherwise
public String format(Parameter parameter,
Object value)
throws ParamFormatException
ParamValidator
format in interface ParamValidatorparameter - the parameter, must not be nullvalue - the value to be converted into a text, can be null
null.
ParamFormatException
public Object parse(Parameter parameter,
String text)
throws ParamParseException
ParamValidator
parse in interface ParamValidatorparameter - the parameter, must not be nulltext - the text to be converted into a value, must not be null
ParamParseException
public void validate(Parameter parameter,
Object value)
throws ParamValidateException
ParamValidatornull since parameters can be allowed to have the value 'null'.
validate in interface ParamValidatorparameter - the parameter, must not be nullvalue - the value to be tested, can be null
ParamValidateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||