|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.datamodel.validation.RecordIdValidator
public class RecordIdValidator
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 |
---|
public RecordIdValidator()
Method Detail |
---|
public void validate(Record record) throws InvalidRecordException
validate
in interface RecordValidator
InvalidRecordException
- if the attribute , does contains no value or a sequence or map, or if the value
is an empty string.
|
SMILA 1.0 API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |