gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterCurrentValue
java.lang.Object
gov.sandia.ccaffeine.dc.user_iface.MVC.CcaPortParameterCurrentValue
public class CcaPortParameterCurrentValue
- extends java.lang.Object
Cca components contain ports.
Some of the ports contain data fields.
This class holds the name and the current value
of one data field. The "current" value is the
value that is currently displayed on the screen.
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
dataFieldValue
public java.lang.String dataFieldValue
CcaPortParameterCurrentValue
public CcaPortParameterCurrentValue(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>
<dataFieldName>name3</dataFieldName>
<dataFieldValue>value1</dataFieldValue>
<paramCurrent>
- Parameters:
xmlComponent
- The xml code of one component.