edu.wpi.cs.dsrg.xmldb.xat.common.operator
Class ColumnNameImp

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.ColumnNameImp

public class ColumnNameImp
extends java.lang.Object
implements ColumnName

Implementation for the Interface that represents a column Name

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ColumnNameImp(java.lang.String sColumnName)
          Constructor
ColumnNameImp(java.lang.String sTableName, java.lang.String sColumnName)
          Constructor
 
Method Summary
 java.lang.String getColumnName()
          returns the column name
 java.lang.String getTableName()
          returns the table name
 void setColumnName(java.lang.String newName)
          sets the column name
 void setTableName(java.lang.String newName)
          sets the table name
 java.lang.String toString()
          returns a string representation of column name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnNameImp

public ColumnNameImp(java.lang.String sColumnName)
Constructor
Parameters:
sColumnName - is column name
Since:
1.0

ColumnNameImp

public ColumnNameImp(java.lang.String sTableName,
                     java.lang.String sColumnName)
Constructor
Parameters:
sTableName - is table name
sColumnName - is column name
Since:
1.0
Method Detail

getColumnName

public java.lang.String getColumnName()
returns the column name
Specified by:
getColumnName in interface ColumnName
Returns:
column name
Since:
1.0

getTableName

public java.lang.String getTableName()
returns the table name
Specified by:
getTableName in interface ColumnName
Returns:
table name
Since:
1.0

setColumnName

public void setColumnName(java.lang.String newName)
sets the column name
Specified by:
setColumnName in interface ColumnName
Parameters:
newName - is column name
Since:
1.0

setTableName

public void setTableName(java.lang.String newName)
sets the table name
Specified by:
setTableName in interface ColumnName
Parameters:
newName - is table name
Since:
1.0

toString

public java.lang.String toString()
returns a string representation of column name
Overrides:
toString in class java.lang.Object
Returns:
java.lang.String
Since:
1.0