gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterOneEnumeratedValue
java.lang.Object
gov.sandia.ccaffeine.dc.user_iface.MVC.CcaPortParameterOneEnumeratedValue
public class CcaPortParameterOneEnumeratedValue
- extends java.lang.Object
Cca components contain ports.
Some of the ports contain data fields.
Sometimes, the the value of data field
is restricted to a set of values. This
class contains one of the values that
is in such a set.
Constructor Summary |
CcaPortParameterOneEnumeratedValue(java.lang.String xml)
Parse the xml contents of one of the values
that can be placed inside of a set of values for
a port parameter. |
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
dataFieldOneEnumeratedValue
public java.lang.String dataFieldOneEnumeratedValue
CcaPortParameterOneEnumeratedValue
public CcaPortParameterOneEnumeratedValue(java.lang.String xml)
- Parse the xml contents of one of the values
that can be placed inside of a set of values for
a port parameter.
The parsed values are copied into the class's attributes.
The XML code will contains something like this:
<paramStringChoice>
<componentInstanceName>
name1
</componentInstanceName>
<portInstanceName>name2</portInstanceName>
<dataFieldName>name3</dataFieldName>
<dataFieldOneEnumeratedValue>
value1
</dataFieldOneEnumeratedValue>
<paramStringChoice>
- Parameters:
xmlComponent
- The xml code of one component.