gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterTab

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.MVC.CcaPortParameterTab

public class CcaPortParameterTab
extends java.lang.Object

Cca components contain ports. Some of the ports contain data fields. Sometimes, the data fields are grouped into sets. A client entity can display a set as a tabbed pane. This class contains the text that appears in the tab.


Field Summary
 java.lang.String componentInstanceName
           
 java.lang.String dataFieldName
           
 java.lang.String portInstanceName
           
 java.lang.String tabName
           
 
Constructor Summary
CcaPortParameterTab(java.lang.String xml)
          Parse the xml contents of a tab that is associated with a port parameter.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentInstanceName

public java.lang.String componentInstanceName

portInstanceName

public java.lang.String portInstanceName

dataFieldName

public java.lang.String dataFieldName

tabName

public java.lang.String tabName
Constructor Detail

CcaPortParameterTab

public CcaPortParameterTab(java.lang.String xml)
Parse the xml contents of a tab that is associated with a port parameter. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
<paramCurrent>
 <newParamTab>
   name1
   </componentInstanceName>
 <portInstanceName>name2</portInstanceName>
 <dataFieldName>name3</dataFieldName>
 <tabName>value1<tabName>
<newParamTabt>

Parameters:
xmlComponent - The xml code of one component.