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

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

public class CcaComponentPropertyValue
extends java.lang.Object

This class holds the name and the value of one component property.


Field Summary
 java.lang.String componentInstanceName
           
 java.lang.String propertyName
           
 java.lang.String propertyValue
           
 
Constructor Summary
CcaComponentPropertyValue(java.lang.String xml)
          Parse the xml contents of a component property.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

componentInstanceName

public java.lang.String componentInstanceName

propertyName

public java.lang.String propertyName

propertyValue

public java.lang.String propertyValue
Constructor Detail

CcaComponentPropertyValue

public CcaComponentPropertyValue(java.lang.String xml)
Parse the xml contents of a component property. The parsed values are copied into the class's attributes.

The XML code will contains something like this:
 <componentIntanceName>
   name1
   </componentInstanceName>
 <propertyName>name2</propertyName>
 <propertyValue>value2</propertyValue>

Parameters:
xmlComponent - The xml code of one component.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object