|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jade.content.schema.facets.CardinalityFacet
This facet forces the elements in an AbsAggregate to be instances of a given schema.
Constructor Summary | |
CardinalityFacet(int cardMin,
int cardMax)
Construct a CardinalityFacet that forces
the number of elements in an AbsAggregate to be within
a given range |
Method Summary | |
void |
validate(AbsObject value,
Ontology onto)
Check that the number of elements in an AbsAggregate is within a given range |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public CardinalityFacet(int cardMin, int cardMax)
CardinalityFacet
that forces
the number of elements in an AbsAggregate to be within
a given rangecardMin
- The range lower boundcardMax
- The range upper boundMethod Detail |
public void validate(AbsObject value, Ontology onto) throws OntologyException
value
- The value to be checked
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |