jade.content.schema
Interface Facet
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- CardinalityFacet, DefaultValueFacet, DocumentationFacet, PermittedValuesFacet, RegexFacet, TypedAggregateFacet
public interface Facet
- extends Serializable
Represent a generic Facet (i.e. a constraint on the possible
values) that can be applied on a slot in a schema of
an ontological element.
- Author:
- Giovanni Caire - TILAB
|
Method Summary |
void |
validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies
to is valid. |
validate
void validate(AbsObject value,
Ontology onto)
throws OntologyException
- Check whether a given value for the slot this Facet applies
to is valid.
- Parameters:
value - The value to be checked
- Throws:
OntologyException - If the value is not valid
These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions