edu.wpi.cs.dsrg.xmldb.xat.common.operator.updateoperator
Class UpdateOperatorImp
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.updateoperator.UpdateOperatorImp
- Direct Known Subclasses:
- DeleteImp, InsertImp, RenameImp, ReplaceImp
- public class UpdateOperatorImp
- extends XATOperatorImp
- implements UpdateOperator
Implementation for the UpdateOperator interface.
- Since:
- 1.0
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
context
|
protected java.lang.String |
variable
|
Method Summary |
java.lang.String |
getContext()
Gets the context of the update operator. |
java.lang.String |
getVariable()
Gets the variable of the update operator. |
void |
setContext(java.lang.String newContext)
Sets the context(element being updated) of the update operator. |
void |
setVariable(java.lang.String newVar)
Sets the variable of the update operator. |
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,
toString |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
variable
protected java.lang.String variable
context
protected java.lang.String context
UpdateOperatorImp
public UpdateOperatorImp(XATNode node)
- Assigns a node to this operator .
- Parameters:
XATNode
- edu.wpi.cs.dsrg.xmldb.xat.common.xatnode.XATNode- Since:
- 1.0
getContext
public java.lang.String getContext()
- Gets the context of the update operator.
- Specified by:
- getContext in interface UpdateOperator
- Returns:
- String
- Since:
- 1.0
getVariable
public java.lang.String getVariable()
- Gets the variable of the update operator.
- Specified by:
- getVariable in interface UpdateOperator
- Returns:
- String
- Since:
- 1.0
setContext
public void setContext(java.lang.String newContext)
- Sets the context(element being updated) of the update operator.
- Specified by:
- setContext in interface UpdateOperator
- Parameters:
context
- String- Since:
- 1.0
setVariable
public void setVariable(java.lang.String newVar)
- Sets the variable of the update operator.
- Specified by:
- setVariable in interface UpdateOperator
- Parameters:
String
- - Since:
- 1.0