org.semwebcentral.sweetrules.sweetonto
Class SweetVariableWrapper

java.lang.Object
  extended byVariable
      extended byorg.semwebcentral.sweetrules.sweetonto.SweetVariableWrapper

public class SweetVariableWrapper
extends Variable

A wrapper for the Variable type to deal with SWRL datarangeAtom which requires data type for the variable.

Author:
Dr. Benjamin Grosof, Shashidhara K Ganjugunte, Dr. Said Tabet, Chitravanu Neogy, Sumit Bhansali
See Also:
Serialized Form

Field Summary
private  java.lang.String variableDataType
          The data type of the variable
 
Constructor Summary
SweetVariableWrapper(java.lang.String variableName, java.lang.String variableDataType)
          A wrapper for the Variable type to deal with SWRL datarangeAtom which requires data type for the variable
 
Method Summary
 java.lang.String getVariableDataType()
          Gets the data type of the variable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

variableDataType

private java.lang.String variableDataType
The data type of the variable

Constructor Detail

SweetVariableWrapper

public SweetVariableWrapper(java.lang.String variableName,
                            java.lang.String variableDataType)
A wrapper for the Variable type to deal with SWRL datarangeAtom which requires data type for the variable

Parameters:
variableName - The name of the variable
variableDataType - The datatype of the variable
Method Detail

getVariableDataType

public java.lang.String getVariableDataType()
Gets the data type of the variable

Returns:
The data type of the variable