MinCardinalityRestriction.java
01 /*
02  * MinCardinalityRestriction.java
03  *
04  * $Id: MinCardinalityRestriction.java 11598 2009-10-13 13:44:17Z johann_p $
05  
06  */
07 package gate.creole.ontology;
08 
09 /**
10  * A MinCardinalityRestriction.
11  *
12  @author Niraj Aswani
13  *
14  */
15 public interface MinCardinalityRestriction extends Restriction {
16 
17     /**
18      * This method returns the mimimum cardinality value allowed for this value.
19      @return
20      */
21     public String getValue();
22     
23     /**
24      * This method returns the datatype associated to the restriction.
25      @return
26     */
27     public DataType getDataType();
28     
29   /**
30    * Sets the cardinality value.
31    @param value
32    @param dataType
33    @throws InvalidValueException
34    */
35   public void setValue(String value, DataType dataTypethrows InvalidValueException;
36     
37 }