uk.ac.ic.doc.automed.templates.wrapper
Class RenameStatement

java.lang.Object
  extended by uk.ac.ic.doc.automed.templates.wrapper.TStatement
      extended by uk.ac.ic.doc.automed.templates.wrapper.RenameStatement

public class RenameStatement
extends TStatement


Field Summary
protected  TStatementArgument actionARG
           
protected  java.lang.String actionName
           
protected  TStatementArgument fromObjectARG
           
protected  TStatementArgument functionARG
           
protected  TStatementArgument newNameARG
           
protected  TemplateArgumentSequence primitiveArgSeq
           
protected  boolean statementExecuted
           
protected  TStatementArgument toObjectARG
           
 
Fields inherited from class uk.ac.ic.doc.automed.templates.wrapper.TStatement
fromSchemaARG, self, statementType, toSchemaARG
 
Constructor Summary
RenameStatement()
           
 
Method Summary
protected  int createExecutionStatement(int position, CompositeTransformation trans)
           
protected  java.lang.String getArgumentDescription(TStatementArgument sa)
           
 TStatementArgument getRenamedObject()
           
protected  java.lang.String getStatementDescription()
           
protected  int numberOfElements(TStatementArgument sa)
           
 TStatementArgument resultingSchema()
           
protected  void rollback()
           
 void setFromSchema(TArgument sch)
           
 void setNewName(java.lang.String c)
           
 void setNewName(TArgument c)
           
 void setObjectToRename(TArgument ta)
           
protected  void updateRepository()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actionARG

protected TStatementArgument actionARG

functionARG

protected TStatementArgument functionARG

newNameARG

protected TStatementArgument newNameARG

toObjectARG

protected TStatementArgument toObjectARG

fromObjectARG

protected TStatementArgument fromObjectARG

primitiveArgSeq

protected TemplateArgumentSequence primitiveArgSeq

actionName

protected java.lang.String actionName

statementExecuted

protected boolean statementExecuted
Constructor Detail

RenameStatement

public RenameStatement()
Method Detail

setFromSchema

public void setFromSchema(TArgument sch)
                   throws TemplateDefinitionException
Specified by:
setFromSchema in class TStatement
Throws:
TemplateDefinitionException

setNewName

public void setNewName(java.lang.String c)

setNewName

public void setNewName(TArgument c)
                throws TemplateDefinitionException
Throws:
TemplateDefinitionException

setObjectToRename

public void setObjectToRename(TArgument ta)
                       throws TemplateDefinitionException
Throws:
TemplateDefinitionException

getStatementDescription

protected java.lang.String getStatementDescription()
Specified by:
getStatementDescription in class TStatement

resultingSchema

public TStatementArgument resultingSchema()
Specified by:
resultingSchema in class TStatement

getArgumentDescription

protected java.lang.String getArgumentDescription(TStatementArgument sa)
Specified by:
getArgumentDescription in class TStatement

getRenamedObject

public TStatementArgument getRenamedObject()

numberOfElements

protected int numberOfElements(TStatementArgument sa)
Specified by:
numberOfElements in class TStatement

rollback

protected void rollback()
                 throws TemplateDefinitionException
Specified by:
rollback in class TStatement
Throws:
TemplateDefinitionException

createExecutionStatement

protected int createExecutionStatement(int position,
                                       CompositeTransformation trans)
                                throws TemplateDefinitionException
Specified by:
createExecutionStatement in class TStatement
Throws:
TemplateDefinitionException

updateRepository

protected void updateRepository()
                         throws TemplateDefinitionException
Specified by:
updateRepository in class TStatement
Throws:
TemplateDefinitionException