com.ibm.dse.tools.workbench.tbg
Class TagGetInstance

java.lang.Object
  |
  +--com.ibm.dse.tools.workbench.tbg.TagGetInstance

public class TagGetInstance
extends java.lang.Object
implements TagProcessor

This class implements an getReferredInstance TBG tag.


Fields inherited from interface com.ibm.dse.tools.workbench.tbg.TbgNames
ATTRIB_LAST, ATTRIB_SEP, ATTRIBUTE, END_SIMPLE_TAG, END_TAG, INI_FINAL_TAG, INI_TAG, LITERAL, LITERAL_LAST1, LITERAL_LAST2, LITERAL_LAST3, LITERAL_SEP1, LITERAL_SEP2, LITERAL_SEP3
 
Constructor Summary
TagGetInstance()
          This constructor creates a TagGetInstance object.
 
Method Summary
 java.lang.String generate(TbgContext aContext)
          Implements the TBG getReferredInstance operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagGetInstance

public TagGetInstance()
This constructor creates a TagGetInstance object.
Method Detail

generate

public java.lang.String generate(TbgContext aContext)
                          throws WorkbenchException,
                                 TbgException
Implements the TBG getReferredInstance operation. Assigns to a variable an instance TableRow referred by another specified instance and its property.
Specified by:
generate in interface TagProcessor
Parameters:
aContext - TbgContext The actual context.
Returns:
java.lang.String Returns a null value because this is a control tag.
Throws:
WorkbenchException - Thrown while writing in the log file or getting the Instance to set the variable value.