iw.model
Interface IWTranslationRule

All Superinterfaces:
IWInferenceRule, IWModelElement, IWProvenanceElement
All Known Subinterfaces:
DBTranslationRule, OWLTranslationRule

public interface IWTranslationRule
extends IWInferenceRule

Models provenance information about translation rules registered in the IWBase. Translation rules are special kinds of inference rules which are used to translate expressions from one language to the other


Method Summary
 java.lang.String getClassName()
          GUESSReturns the OWL class name of the language
 java.lang.String getFromExpression()
          Returns the from expression of the translation rule
 IWLanguage getFromLanguage()
          Returns the from language of the translation rule
 java.lang.String getToExpression()
          Returns the to expression of the translation rule
 IWLanguage getToLanguage()
          Returns the to language of the translation rule
 void setFromExpression(java.lang.String _newFromExpression)
          Sets the from expression of the translation rule
 void setFromLanguage(IWLanguage _newFromLanguage)
          Sets the fromlanguage of the translation rule
 void setToExpression(java.lang.String _newToExpression)
          Sets the to expression of the translation rule
 void setToLanguage(IWLanguage _newToLanguage)
          Sets the to language of the translation rule
 
Methods inherited from interface iw.model.IWInferenceRule
getEnglishDescriptionTemplate, setEnglishDescriptionTemplate
 
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

getToExpression

public java.lang.String getToExpression()
Returns the to expression of the translation rule

Returns:
the to expression of the translation rule

setToExpression

public void setToExpression(java.lang.String _newToExpression)
Sets the to expression of the translation rule

Parameters:
_newToExpression - the new to expression of the translation rule

getFromExpression

public java.lang.String getFromExpression()
Returns the from expression of the translation rule

Returns:
the from expression of the translation rule

setFromExpression

public void setFromExpression(java.lang.String _newFromExpression)
Sets the from expression of the translation rule

Parameters:
_newFromExpression - the new for expression of the translation rule

getToLanguage

public IWLanguage getToLanguage()
Returns the to language of the translation rule

Returns:
the to language of the translation rule

setToLanguage

public void setToLanguage(IWLanguage _newToLanguage)
Sets the to language of the translation rule

Parameters:
_newToLanguage - the new to language of the translation rule

getFromLanguage

public IWLanguage getFromLanguage()
Returns the from language of the translation rule

Returns:
the from language of the translation rule

setFromLanguage

public void setFromLanguage(IWLanguage _newFromLanguage)
Sets the fromlanguage of the translation rule

Parameters:
_newFromLanguage - the new from language of the translation rule

getClassName

public java.lang.String getClassName()
GUESSReturns the OWL class name of the language

Specified by:
getClassName in interface IWInferenceRule
Returns:
the OWL class name of the language


Copyright 2006 Inference Web group, All Rights Reserved.