Java Doc for Ontology.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » ontology » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » RSS RDF » Jena 2.5.5 » com.hp.hpl.jena.ontology 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.hp.hpl.jena.ontology.Ontology

All known Subclasses:   com.hp.hpl.jena.ontology.impl.OntologyImpl,
Ontology
public interface Ontology extends OntResource(Code)

Interface encapsulating the distinguished instance in a given ontology document that presents meta-data and other processing data about the document (including which other documents are imported by a document).


author:
   Ian Dickinson, HP Labs
author:
   (email)
version:
   CVS $Id: Ontology.java,v 1.12 2008/01/02 12:06:42 andy_seaborne Exp $




Method Summary
public  voidaddBackwardCompatibleWith(Resource res)
    

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) is backwards compatible with.


Parameters:
  res - Represents a resource that this ontology is compatible with.
exception:
  OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile.
public  voidaddImport(Resource res)
    

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) imports.


Parameters:
  res - Represents a resource that this ontology imports.
exception:
  OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile.
public  voidaddIncompatibleWith(Resource res)
    

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) is incompatible with.


Parameters:
  res - Represents a resource that this ontology is incompatible with.
exception:
  OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile.
public  voidaddPriorVersion(Resource res)
    

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) supercedes.


Parameters:
  res - Represents a resource that this ontology supercedes.
exception:
  OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile.
public  OntResourcegetBackwardCompatibleWith()
    

Answer a resource that represents an ontology that is backwards compatible with this ontology.

public  OntResourcegetImport()
    

Answer a resource that represents an ontology imported by this ontology.

public  OntResourcegetIncompatibleWith()
    

Answer a resource that represents an ontology that is is incompatible with this ontology.

public  OntResourcegetPriorVersion()
    

Answer a resource that represents an ontology that is superceded by this ontology.

public  booleanhasPriorVersion(Resource res)
    
public  booleanimports(Resource res)
    
public  booleanisBackwardCompatibleWith(Resource res)
    
public  booleanisIncompatibleWith(Resource res)
    
public  ExtendedIteratorlistBackwardCompatibleWith()
    

Answer an iterator over all of the resources representing ontologies that this ontology is backwards compatible with.

public  ExtendedIteratorlistImports()
    

Answer an iterator over all of the resources representing ontologies imported by this ontology.

public  ExtendedIteratorlistIncompatibleWith()
    

Answer an iterator over all of the resources representing ontologies that this ontology is incompatible with.

public  ExtendedIteratorlistPriorVersion()
    

Answer an iterator over all of the resources representing ontologies that this ontology supercedes.

public  voidremoveBackwardCompatibleWith(Resource res)
    

Remove the statement that this ontology is backwards compatible with the ontology represented by the given resource.

public  voidremoveImport(Resource res)
    

Remove the statement that this ontology imports the ontology represented by the given resource.

public  voidremoveIncompatibleWith(Resource res)
    

Remove the statement that the given ontology is incompatible with this ontology.

public  voidremovePriorVersion(Resource res)
    

Remove the statement that the given ontology is a prior version of this ontology.

public  voidsetBackwardCompatibleWith(Resource res)
    

Assert that this ontology is backward compatible with the given ontology.

public  voidsetImport(Resource res)
    

Assert that this ontology imports only the given ontology.

public  voidsetIncompatibleWith(Resource res)
    

Assert that this ontology is incompatible with the given ontology.

public  voidsetPriorVersion(Resource res)
    

Assert that this ontology is a new version of the given ontology.




Method Detail
addBackwardCompatibleWith
public void addBackwardCompatibleWith(Resource res)(Code)

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) is backwards compatible with.


Parameters:
  res - Represents a resource that this ontology is compatible with.
exception:
  OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile.



addImport
public void addImport(Resource res)(Code)

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) imports.


Parameters:
  res - Represents a resource that this ontology imports.
exception:
  OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile.



addIncompatibleWith
public void addIncompatibleWith(Resource res)(Code)

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) is incompatible with.


Parameters:
  res - Represents a resource that this ontology is incompatible with.
exception:
  OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile.



addPriorVersion
public void addPriorVersion(Resource res)(Code)

Add a resource representing an ontology that this ontology (strictly, the ontology reprsented by this node) supercedes.


Parameters:
  res - Represents a resource that this ontology supercedes.
exception:
  OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile.



getBackwardCompatibleWith
public OntResource getBackwardCompatibleWith()(Code)

Answer a resource that represents an ontology that is backwards compatible with this ontology. If there is more than one such resource, an arbitrary selection is made.

An ont resource representing an ontology that this ontology is compatible with
exception:
  OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile.



getImport
public OntResource getImport()(Code)

Answer a resource that represents an ontology imported by this ontology. If there is more than one such resource, an arbitrary selection is made.

An ont resource representing a resource that this ontology imports
exception:
  OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile.



getIncompatibleWith
public OntResource getIncompatibleWith()(Code)

Answer a resource that represents an ontology that is is incompatible with this ontology. If there is more than one such resource, an arbitrary selection is made.

An ont resource representing an ontology that this ontology is incompatible with
exception:
  OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile.



getPriorVersion
public OntResource getPriorVersion()(Code)

Answer a resource that represents an ontology that is superceded by this ontology. If there is more than one such resource, an arbitrary selection is made.

An ont resource representing an ontology that this ontology supercedes
exception:
  OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile.



hasPriorVersion
public boolean hasPriorVersion(Resource res)(Code)

Answer true if this ontology (the ontology represented by this resource) supercedes the given resource.


Parameters:
  res - A resource to test against True if this ontology supercedes the ontology represented by res



imports
public boolean imports(Resource res)(Code)

Answer true if this ontology (the ontology represented by this resource) imports the given resource.


Parameters:
  res - A resource to test against True if this ontology imports the ontology represented by res



isBackwardCompatibleWith
public boolean isBackwardCompatibleWith(Resource res)(Code)

Answer true if this ontology (the ontology represented by this resource) is backward compatible with the given resource.


Parameters:
  res - A resource to test against True if this ontology is compatible with the ontology represented by res



isIncompatibleWith
public boolean isIncompatibleWith(Resource res)(Code)

Answer true if this ontology (the ontology represented by this resource) is incompatible with the given resource.


Parameters:
  res - A resource to test against True if this ontology is incompatible with the ontology represented by res



listBackwardCompatibleWith
public ExtendedIterator listBackwardCompatibleWith()(Code)

Answer an iterator over all of the resources representing ontologies that this ontology is backwards compatible with. Each element of the iterator will be an OntResource .

An iterator over the ontology resources compatible with this ontology
exception:
  OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile.



listImports
public ExtendedIterator listImports()(Code)

Answer an iterator over all of the resources representing ontologies imported by this ontology. Each elemeent of the iterator will be an OntResource .

An iterator over the ontology import resources
exception:
  OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile.



listIncompatibleWith
public ExtendedIterator listIncompatibleWith()(Code)

Answer an iterator over all of the resources representing ontologies that this ontology is incompatible with. Each element of the iterator will be an OntResource .

An iterator over the ontology resources that this ontology is incompatible with
exception:
  OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile.



listPriorVersion
public ExtendedIterator listPriorVersion()(Code)

Answer an iterator over all of the resources representing ontologies that this ontology supercedes. Each element of the iterator will be an OntResource .

An iterator over the ontology resources superceded by this ontology
exception:
  OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile.



removeBackwardCompatibleWith
public void removeBackwardCompatibleWith(Resource res)(Code)

Remove the statement that this ontology is backwards compatible with the ontology represented by the given resource. If this statement is not true of the current model, nothing happens.


Parameters:
  res - A resource that represents an ontology that is no longer to be imported



removeImport
public void removeImport(Resource res)(Code)

Remove the statement that this ontology imports the ontology represented by the given resource. If this statement is not true of the current model, nothing happens.


Parameters:
  res - A resource that represents an ontology that is no longer to be imported



removeIncompatibleWith
public void removeIncompatibleWith(Resource res)(Code)

Remove the statement that the given ontology is incompatible with this ontology. If this statement is not true of the current model, nothing happens.


Parameters:
  res - A resource that represents an ontology that is no longer incompatible with this ontology



removePriorVersion
public void removePriorVersion(Resource res)(Code)

Remove the statement that the given ontology is a prior version of this ontology. If this statement is not true of the current model, nothing happens.


Parameters:
  res - A resource that represents an ontology that is no longer a prior version of this ontology



setBackwardCompatibleWith
public void setBackwardCompatibleWith(Resource res)(Code)

Assert that this ontology is backward compatible with the given ontology. Any existing statements for sameAs will be removed.


Parameters:
  res - Represents a resource that this ontology is compatible with.
exception:
  OntProfileException - If the Profile.BACKWARD_COMPATIBLE_WITH property is not supported in the current language profile.



setImport
public void setImport(Resource res)(Code)

Assert that this ontology imports only the given ontology. Any existing statements for sameAs will be removed.


Parameters:
  res - Represents a resource that this ontology imports.
exception:
  OntProfileException - If the Profile#IMPORTS()() property is not supported in the current language profile.



setIncompatibleWith
public void setIncompatibleWith(Resource res)(Code)

Assert that this ontology is incompatible with the given ontology. Any existing statements for incompatibleWith will be removed.


Parameters:
  res - Represents a resource that this ontology is incompatible with.
exception:
  OntProfileException - If the Profile.INCOMPATIBLE_WITH property is not supported in the current language profile.



setPriorVersion
public void setPriorVersion(Resource res)(Code)

Assert that this ontology is a new version of the given ontology. Any existing statements for priorVersion will be removed.


Parameters:
  res - Represents a resource that this ontology supercedes.
exception:
  OntProfileException - If the Profile.PRIOR_VERSION property is not supported in the current language profile.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.