|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.content.schema.facets.TypedAggregateFacet
public class TypedAggregateFacet
This facet forces the elements in an AbsAggregate to be compliant to a given schema.
| Constructor Summary | |
|---|---|
TypedAggregateFacet(ObjectSchema s)
Construct a TypedAggregateFacet that forces
the elements in an AbsAggregate to be instances of a given
schema |
|
| Method Summary | |
|---|---|
ObjectSchema |
getType()
Get the schema associated to this facet |
void |
validate(AbsObject value,
Ontology onto)
Check whether a given value for the slot this Facet applies to is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypedAggregateFacet(ObjectSchema s)
TypedAggregateFacet that forces
the elements in an AbsAggregate to be instances of a given
schema
| Method Detail |
|---|
public ObjectSchema getType()
public void validate(AbsObject value,
Ontology onto)
throws OntologyException
validate in interface Facetvalue - The value to be checked
OntologyException - If the value is not valid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||