1   /*
2    * OClass.java
3    *
4    * Copyright (c) 2002, The University of Sheffield.
5    *
6    * This file is part of GATE (see http://gate.ac.uk/), and is free
7    * software, licenced under the GNU Library General Public License,
8    * Version 2, June1991.
9    *
10   * A copy of this licence is included in the distribution in the file
11   * licence.html, and is also available at http://gate.ac.uk/gate/licence.html.
12   *
13   * Kalina Bontcheva 11/2003
14   *
15   *  $Id: OClass.java,v 1.9 2005/12/14 14:28:57 julien_nioche Exp $*
16   */
17  package gate.creole.ontology;
18  
19  import java.util.Set;
20  
21  public interface OClass extends TClass {
22    /** Indicates that these are disjoint classes */
23    public void setDisjointWith(OClass theClass);
24  
25    /** Indicates that these classes are the same */
26    public void setSameClassAs(OClass theClass);
27  
28    /**
29     * Returns a set of all classes that are disjoint with ours. Null if no such
30     * classes.
31     */
32    public Set getDisjointClasses();
33  
34    /**
35     * Returns a set of all classes that are the same as ours. Null if no such
36     * classes.
37     */
38    public Set getSameClasses();
39  }