KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > ontology > daml > DAMLOntology


1 /*****************************************************************************
2  * Source code information
3  * -----------------------
4  * Original author Ian Dickinson, HP Labs Bristol
5  * Author email Ian.Dickinson@hp.com
6  * Package Jena
7  * Created 5 Jan 2001
8  * Filename $RCSfile: DAMLOntology.java,v $
9  * Revision $Revision: 1.5 $
10  * Release status Preview-release $State: Exp $
11  *
12  * Last modified on $Date: 2005/02/21 12:05:01 $
13  * by $Author: andy_seaborne $
14  *
15  * (c) Copyright 2001, 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
16  * (see footer for full conditions)
17  *****************************************************************************/

18
19 // Package
20
///////////////
21
package com.hp.hpl.jena.ontology.daml;
22
23
24 // Imports
25
///////////////
26
import com.hp.hpl.jena.rdf.model.NodeIterator;
27
28
29 /**
30  * Encapsulates the properties known for a given source ontology.
31  *
32  * @author Ian Dickinson, HP Labs (<a HREF="mailto:Ian.Dickinson@hp.com">email</a>)
33  * @version CVS info: $Id: DAMLOntology.java,v 1.5 2005/02/21 12:05:01 andy_seaborne Exp $
34  */

35 public interface DAMLOntology
36     extends DAMLCommon
37 {
38     // Constants
39
//////////////////////////////////
40

41
42     // External signature methods
43
//////////////////////////////////
44

45
46     /**
47      * Property value accessor for the version info property of the ontology.
48      *
49      * @return A literal accessor that gives access to the version info of the ontology.
50      */

51     public LiteralAccessor prop_versionInfo();
52
53
54     /**
55      * Answer an iteration of resources that represent the URI's of the
56      * ontologies that this ontology imports.
57      *
58      * @return An iterator over the resources representing imported ontologies
59      */

60     public NodeIterator getImportedOntologies();
61
62
63     /**
64      * Add the given ontology to the list of ontologies managed by the
65      * knowledge store, and add it as an imoport property to this ontology object.
66      *
67      * @param uri The URI of the model.
68      */

69     public void addImportedOntology( String JavaDoc uri );
70
71 }
72
73
74
75 /*
76     (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
77     All rights reserved.
78
79     Redistribution and use in source and binary forms, with or without
80     modification, are permitted provided that the following conditions
81     are met:
82
83     1. Redistributions of source code must retain the above copyright
84        notice, this list of conditions and the following disclaimer.
85
86     2. Redistributions in binary form must reproduce the above copyright
87        notice, this list of conditions and the following disclaimer in the
88        documentation and/or other materials provided with the distribution.
89
90     3. The name of the author may not be used to endorse or promote products
91        derived from this software without specific prior written permission.
92
93     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
94     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
95     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
96     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
97     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
98     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
99     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
100     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
101     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
102     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
103 */

104
105
Popular Tags