gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterNewField
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
componentInstanceName
public java.lang.String componentInstanceName
portInstanceName
public java.lang.String portInstanceName
dataFieldName
public java.lang.String dataFieldName
dataFieldDataType
public java.lang.String dataFieldDataType
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.