SomeValuesFromRestriction.java
01 /**
02  
03  */
04 package gate.creole.ontology;
05 
06 /**
07  * A SomeValuesFromRestriction.
08  *
09  @author Niraj Aswani
10  *
11  */
12 public interface SomeValuesFromRestriction extends Restriction {
13 
14   /**
15    * Returns the resource which is set as a value
16    
17    @return
18    */
19   public OResource getHasValue();
20 
21   /**
22    * Sets the resource as a restricted value.
23    
24    @param resource
25    */
26   public void setHasValue(OResource resource);
27 
28 }