gov.sandia.ccaffeine.dc.user_iface.MVC
Class CcaPortParameterRangeOfValues
java.lang.Object
gov.sandia.ccaffeine.dc.user_iface.MVC.CcaPortParameterRangeOfValues
public class CcaPortParameterRangeOfValues
- extends java.lang.Object
Cca components contain ports.
Some of the ports contain data fields.
Some of the data fields restrict the
range that a value can have.
This class contains the lower bound
and the upper bound of the range.
Constructor Summary |
CcaPortParameterRangeOfValues(java.lang.String xml)
Parse the xml contents of the range of values
than can be inserted into a data field 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
dataFieldMinValue
public java.lang.String dataFieldMinValue
dataFieldMaxValue
public java.lang.String dataFieldMaxValue
CcaPortParameterRangeOfValues
public CcaPortParameterRangeOfValues(java.lang.String xml)
- Parse the xml contents of the range of values
than can be inserted into a data field parameter.
The parsed values are copied into the class's attributes.
The XML code will contains something like this:
<paramNumberRange>
<componentInstanceName>
name1
</componentInstanceName>
<portInstanceName>name2</portInstanceName>
<dataFieldName>name3</dataFieldName>
<dataFieldMinValue>
value1
</dataFieldMinValue>
<dataFieldMaxValue>
value1
</dataFieldMaxValue>
<paramNumberRange>
- Parameters:
xmlComponent
- The xml code of one component.