01: /*****************************************************************************
02: * Source code information
03: * -----------------------
04: * Original author Ian Dickinson, HP Labs Bristol
05: * Author email Ian.Dickinson@hp.com
06: * Package Jena 2
07: * Web http://sourceforge.net/projects/jena/
08: * Created 28-Apr-2003
09: * Filename $RCSfile: ComplementClass.java,v $
10: * Revision $Revision: 1.11 $
11: * Release status $State: Exp $
12: *
13: * Last modified on $Date: 2008/01/02 12:06:38 $
14: * by $Author: andy_seaborne $
15: *
16: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
17: * (see footer for full conditions)
18: *****************************************************************************/package com.hp.hpl.jena.ontology;
19:
20: // Imports
21: ///////////////
22: import com.hp.hpl.jena.rdf.model.Resource;
23:
24: /**
25: * <p>
26: * Class description that is formed from the complement of another class description
27: * </p>
28: *
29: * @author Ian Dickinson, HP Labs
30: * (<a href="mailto:Ian.Dickinson@hp.com" >email</a>)
31: * @version CVS $Id: ComplementClass.java,v 1.11 2008/01/02 12:06:38 andy_seaborne Exp $
32: */
33: public interface ComplementClass extends BooleanClassDescription {
34: // Constants
35: //////////////////////////////////
36:
37: // External signature methods
38: //////////////////////////////////
39:
40: /**
41: * <p>Answer the class that the class described by this class description
42: * is a complement of.</p>
43: * @return The class that this class is a complement of.
44: */
45: public OntClass getOperand();
46:
47: /**
48: * <p>Set the class that the class represented by this class expression is
49: * a complement of. Any existing value for <code>complementOf</code> will
50: * be replaced.</p>
51: */
52: public void setOperand(Resource cls);
53: }
54:
55: /*
56: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
57: All rights reserved.
58:
59: Redistribution and use in source and binary forms, with or without
60: modification, are permitted provided that the following conditions
61: are met:
62:
63: 1. Redistributions of source code must retain the above copyright
64: notice, this list of conditions and the following disclaimer.
65:
66: 2. Redistributions in binary form must reproduce the above copyright
67: notice, this list of conditions and the following disclaimer in the
68: documentation and/or other materials provided with the distribution.
69:
70: 3. The name of the author may not be used to endorse or promote products
71: derived from this software without specific prior written permission.
72:
73: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
74: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
75: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
76: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
77: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
78: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
79: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
80: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
81: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
82: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
83: */
|