edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator
Interface NameColumn

All Known Implementing Classes:
NameColumnImp

public interface NameColumn
extends SpecialOperator

An interface for the NameColumn opertor.

Since:
1.0

Method Summary
 java.lang.String getBlockDesc()
          Extends the semantic of NameColumn operator.
 NavigationStep[] getColumnPath()
          Insert the method's description here.
 java.lang.String getNewColumnName()
           
 java.lang.String getOriginalColumnName()
           
 void setBlockDesc(java.lang.String desc)
          Set block description.
 void setColumnPath(NavigationStep[] param)
          Sets column path.
 void setNewColumnName(java.lang.String new_name)
          Sets new column name.
 void setOriginalColumnName(java.lang.String original_name)
          Sets original column name.
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperator
clone, getNode, getOutput, getOutputColumnName, getOutputDataSource, getOutputDataSources, getPrimaryDataSource, getPrimarySource, setNode, setOutput, setOutputColumnName
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObject
getStatistics, isValidStatistic
 
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATProperties
getProperties, getProperty, isValidPropertyName, setProperty
 

Method Detail

getBlockDesc

public java.lang.String getBlockDesc()
Extends the semantic of NameColumn operator. It also used to identify a start of a new query block. This will give back query block description. So far, we have one meaningful desc: "return". Which is used to tell the decore engine to put the LOJ below that operator.
Returns:
java.lang.String
Since:
1.0

getColumnPath

public NavigationStep[] getColumnPath()
Insert the method's description here.
Returns:
edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator.NavigationStep[]
Since:
1.0

getNewColumnName

public java.lang.String getNewColumnName()

getOriginalColumnName

public java.lang.String getOriginalColumnName()

setBlockDesc

public void setBlockDesc(java.lang.String desc)
Set block description.
Parameters:
desc - java.lang.String
Since:
1.0
See Also:
getBlockDesc()

setColumnPath

public void setColumnPath(NavigationStep[] param)
Sets column path.
Parameters:
param - edu.wpi.cs.dsrg.xmldb.xat.common.operator.xmloperator.NavigationStep
Since:
1.0

setNewColumnName

public void setNewColumnName(java.lang.String new_name)
Sets new column name.
Parameters:
new_name - is the new column name
Since:
1.0

setOriginalColumnName

public void setOriginalColumnName(java.lang.String original_name)
Sets original column name.
Parameters:
original_name - is the original column name
Since:
1.0