|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp | +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp | +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp | +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.NameColumnImp
Implementation for the interface NameColumn.
Field Summary | |
protected NavigationStep[] |
columnPath
the absolute path of the column to be renamed |
protected java.lang.String |
desc
Block description. |
protected java.lang.String |
sNewColumnName
the name of the new column |
protected java.lang.String |
sOrgColumnName
the original name of the column |
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp |
columnsFiltered,
outputColumnName,
xnodOwner,
xtabOutput |
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp |
stats,
statsPresent |
Constructor Summary | |
NameColumnImp(XATNode xnodInit)
Assigns a node to this operator . |
|
NameColumnImp(XATNode xnodInit,
java.lang.String sOrgNameInit,
java.lang.String sNewNameInit)
Assigns a node to this operator also assigns original and new column names. |
|
NameColumnImp(XATNode xnodInit,
java.lang.String sOrgNameInit,
java.lang.String sNewNameInit,
NavigationStep[] colPath)
Assigns a node to this operator also assigns original and new column names and column path. |
Method Summary | |
void |
accept(Visitor visitor)
It used to implement a visitor pattern. |
java.lang.String |
getBlockDesc()
Extends the semantic of NameColumn operator. |
NavigationStep[] |
getColumnPath()
Gets the absolute path for this column. |
java.lang.String |
getNewColumnName()
Gets the new column name. |
java.lang.String |
getOriginalColumnName()
Gets the original column name. |
void |
setBlockDesc(java.lang.String desc)
Sets block description. |
void |
setColumnPath(NavigationStep[] newColumnPath)
Sets the absolute path for this rename. |
void |
setNewColumnName(java.lang.String new_name)
Sets the new name for the column |
void |
setOriginalColumnName(java.lang.String original_name)
Set the name of the column to be renamed |
java.lang.String |
toString()
returns a string representation |
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp |
clone,
getColumnsFiltered,
getNode,
getOutput,
getOutputColumnName,
getOutputDataSource,
getOutputDataSources,
getPrimaryDataSource,
getPrimarySource,
setDefaultProperties,
setNode,
setOutput,
setOutputColumnName,
setProperty |
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp |
addStatistic,
compareTo,
getStatistics,
isValidStatistic,
setDefaultStatistics |
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp |
addProperty,
getProperties,
getProperty,
isValidPropertyName,
setNewPropertyValue |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.lang.String sNewColumnName
protected java.lang.String sOrgColumnName
protected NavigationStep[] columnPath
protected java.lang.String desc
Constructor Detail |
public NameColumnImp(XATNode xnodInit)
init
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodepublic NameColumnImp(XATNode xnodInit, java.lang.String sOrgNameInit, java.lang.String sNewNameInit)
init
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodesOrgNameInit
- original column namesNewNameInit
- new column namepublic NameColumnImp(XATNode xnodInit, java.lang.String sOrgNameInit, java.lang.String sNewNameInit, NavigationStep[] colPath)
init
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNodesOrgNameInit
- original column namesNewNameInit
- new column namecolPath
- is column pathMethod Detail |
public void accept(Visitor visitor)
visitor
- for the visitor patternpublic java.lang.String getBlockDesc()
public NavigationStep[] getColumnPath()
public java.lang.String getNewColumnName()
public java.lang.String getOriginalColumnName()
public void setBlockDesc(java.lang.String desc)
desc
- java.lang.StringgetBlockDesc()
public void setColumnPath(NavigationStep[] newColumnPath)
newColumnPath
- NavigationStepImp[]public void setNewColumnName(java.lang.String new_name)
new_name
- new name for the columnpublic void setOriginalColumnName(java.lang.String original_name)
original_name
- name of the column to be renamedpublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |