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

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

public class CcaPortParameterNewField
extends java.lang.Object

Cca components contain ports. Some of the ports contain data fields. This class holds the name and the data type of one data field.


Field Summary
 java.lang.String componentInstanceName
           
 java.lang.String dataFieldDataType
           
 java.lang.String dataFieldName
           
 java.lang.String portInstanceName
           
 
Constructor Summary
CcaPortParameterNewField(java.lang.String xml)
          Parse the xml contents of a current 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

dataFieldDataType

public java.lang.String dataFieldDataType
Constructor Detail

CcaPortParameterNewField

public CcaPortParameterNewField(java.lang.String xml)
Parse the xml contents of a current port parameter. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
<paramCurrent>
 <componentInstanceName>
   name1
   </componentInstanceName>
 <portInstanceName>name2</portInstanceName>
 <dataFieldDataType>
   value1
   </dataFieldDataType>
 <dataFieldName>value1</dataFieldName>
<paramCurrent>

Parameters:
xmlComponent - The xml code of one component.