org.semwebcentral.sweetrules.infrastructure
Interface ISweetKRDescriptor

All Superinterfaces:
java.lang.Cloneable
All Known Implementing Classes:
AbstractSweetKRDescriptor

public interface ISweetKRDescriptor
extends java.lang.Cloneable

The interface for a "Knowledge Representation descriptor" NB:
1) For now just a name is stored, can enhance it later with fields like preferredInferenceEngine etc If changed might need to change AbstractSweetKRDescriptor class also

2) For comparison only KRType is considered others need to be factored in later on

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Method Summary
 java.lang.Object clone()
          The clone method to clone this object
 java.lang.String getKRName()
          get method for the KR name
 java.lang.String getKRType()
          get method for KR type
 ISweetCanonicalVersionNumber getKRVersionNumber()
          get method for KR version number
 

Method Detail

getKRName

public java.lang.String getKRName()
get method for the KR name

Returns:
The name of the KR Descriptor

getKRType

public java.lang.String getKRType()
get method for KR type

Returns:
The krType which may be "RuleML", "BRML", "OWL", "XML"

getKRVersionNumber

public ISweetCanonicalVersionNumber getKRVersionNumber()
get method for KR version number

Returns:
The version number of the KR (e.g. RuleML 0.8 where 0.8 is version)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
The clone method to clone this object

Returns:
The cloned object
Throws:
java.lang.CloneNotSupportedException - if an error occurs