JADE_SL.schema
Interface Facet

All Known Implementing Classes:
CardinalityFacet, TypedAggregateFacet

public interface Facet

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.
 

Method Detail

validate

public 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


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.