ObjectProperty.java |
1 /* 2 * ObjectProperty.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 * 16 * $Id: ObjectProperty.java,v 1.1 2004/07/23 17:48:08 kalina Exp $ 17 */ 18 19 package gate.creole.ontology; 20 21 import java.util.Set; 22 23 public interface ObjectProperty extends Property { 24 25 /** 26 * Returns the set of inverse properties for this property. Null if no 27 * such properties. The set contains objects of KBProperty instances. 28 * @return a {@link Set} value. 29 */ 30 public Set getInverseProperties(); 31 32 /** 33 * Set theInverse as inverse property to this property. 34 * @param theInverse 35 */ 36 public void setInverseOf(Property theInverse); 37 }