Class ValidDataTypeValidator
- java.lang.Object
-
- org.gcube.accounting.datamodel.validations.validators.ValidDataTypeValidator
-
- All Implemented Interfaces:
org.gcube.documentstore.records.implementation.FieldAction
public class ValidDataTypeValidator extends Object implements org.gcube.documentstore.records.implementation.FieldAction
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Constructor Summary
Constructors Constructor Description ValidDataTypeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializablevalidate(String key, Serializable value, org.gcube.documentstore.records.Record record)
-
-
-
Method Detail
-
validate
public Serializable validate(String key, Serializable value, org.gcube.documentstore.records.Record record) throws org.gcube.documentstore.exception.InvalidValueException
- Specified by:
validatein interfaceorg.gcube.documentstore.records.implementation.FieldAction- Throws:
org.gcube.documentstore.exception.InvalidValueException
-
-