public interface Facet extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid.
|
void validate(AbsObject value, Ontology onto) throws OntologyException
value
- The value to be checkedOntologyException
- If the value is not valid