iw.model
Interface IWAxiom

All Superinterfaces:
IWModelElement, IWProvenanceElement
All Known Subinterfaces:
DBAxiom, OWLAxiom

public interface IWAxiom
extends IWProvenanceElement

Represents Axioms stored in IWBase. The IWBase is a distributed repository of meta-data about items used in deriving answers like axioms, inference rules etc. The IWAxiom class stores meta data about axioms.


Method Summary
 java.lang.String getClassName()
          GUESS Returns the OWL class name of the axiom.
 java.lang.String getContent()
          Returns the content i.e.
 IWLanguage getLanguage()
          Returns the language in which the axiom is encoded.
 java.lang.String[] getLanguageName()
          Returns the name of the language in which the axiom is encoded.
 void setContent(java.lang.String _newContent)
          Sets the content i.e.
 void setLanguage(IWLanguage _newLanguage)
          Sets the name of the language in which the axiom is encoded.
 
Methods inherited from interface iw.model.IWProvenanceElement
addSource, getEnglishDescription, getEnglishExample, getFileName, getFullName, getShortName, getSourceNames, getSources, getSourceURIs, getSubmitter, getSubmitterName, getURL, setEnglishDescription, setEnglishExample, setFileName, setFullName, setShortName, setSources, setSubmitter, setURL
 
Methods inherited from interface iw.model.IWModelElement
getFirstSubmissionDate, getLastSubmissionDate, getModel, getURI, setFirstSubmissionDate, setLastSubmissionDate, setModel, setURI
 

Method Detail

getLanguage

public IWLanguage getLanguage()
Returns the language in which the axiom is encoded.

Returns:
an IWLanguage instance corresponding to the language in which the axiom is encoded

getLanguageName

public java.lang.String[] getLanguageName()
Returns the name of the language in which the axiom is encoded.

Returns:
An array of strings of length 1 where the first element is the name of the language in which the axiom is encoded

setLanguage

public void setLanguage(IWLanguage _newLanguage)
Sets the name of the language in which the axiom is encoded.


getContent

public java.lang.String getContent()
Returns the content i.e. the expression corresponding to the axiom in the language of the axiom.

Returns:
a string corresponding to the content of the axiom

setContent

public void setContent(java.lang.String _newContent)
Sets the content i.e. the expression corresponding to the axiom in the language of the axiom.

Parameters:
_newContent - a string corresponding to the new content of the axiom

getClassName

public java.lang.String getClassName()
GUESS Returns the OWL class name of the axiom.

Returns:
the OWL class name of the axiom


Copyright 2006 Inference Web group, All Rights Reserved.