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

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

public class IndexListStatement
extends TStatement


Field Summary
protected  TemplateArgumentSequence statementArgSeq
           
 
Fields inherited from class uk.ac.ic.doc.automed.templates.wrapper.TStatement
fromSchemaARG, self, statementType, toSchemaARG
 
Constructor Summary
IndexListStatement()
           
 
Method Summary
protected  int createExecutionStatement(int position, CompositeTransformation trans)
           
protected  java.lang.String getArgumentDescription(TStatementArgument sa)
           
 TStatementArgument getListElement()
           
protected  java.lang.String getStatementDescription()
           
protected  int numberOfElements(TStatementArgument sa)
           
 TStatementArgument resultingSchema()
           
protected  void rollback()
           
 void setFromSchema(TArgument sch)
           
 void setIndex(int index)
           
 void setList(TArgument lst)
           
protected  void updateRepository()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statementArgSeq

protected TemplateArgumentSequence statementArgSeq
Constructor Detail

IndexListStatement

public IndexListStatement()
                   throws TemplateDefinitionException
Throws:
TemplateDefinitionException
Method Detail

getListElement

public TStatementArgument getListElement()

setList

public void setList(TArgument lst)
             throws TemplateDefinitionException
Throws:
TemplateDefinitionException

setIndex

public void setIndex(int index)

setFromSchema

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

resultingSchema

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

getArgumentDescription

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

numberOfElements

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

updateRepository

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

createExecutionStatement

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

rollback

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

getStatementDescription

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