Overview | Package | Class | Tree | Deprecated | Index | Help
| SMILA API documentation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.smila.datamodel.validation
Class RecordIdValidator

    java.lang.Object
      org.eclipse.smila.datamodel.validation.RecordIdValidator

All Implemented Interfaces:
  RecordValidator

    public class RecordIdValidator

extends java.lang.Object
implements RecordValidator

Very basic validator that checks if a record contains a non-empty single string value in attribute . If the value is not a string value, it is converted to one.

Constructor Summary
`RecordIdValidator()`

Method Summary
`void` | `validate(Record record)` check record.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RecordIdValidator

    public RecordIdValidator()

Method Detail

### validate

    public void validate(Record record)
                  throws InvalidRecordException

  check record.

  Specified by:
    `validate` in interface `RecordValidator`
  Throws:
    `InvalidRecordException` - if the attribute , does contains no value or a sequence or map, or if the value is an empty string.

Overview | Package | Class | Tree | Deprecated | Index | Help
| SMILA API documentation
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD