com.ibm.rational.rpe.api.docspec
Class ConfigurationLayer.ConfigurationValue

java.lang.Object
  extended by com.ibm.rational.rpe.api.docspec.ConfigurationLayer.ConfigurationValue
Enclosing class:
ConfigurationLayer

public static class ConfigurationLayer.ConfigurationValue
extends java.lang.Object

This represents a Configuration Layer entry as returned by the readValueSet and readDataSet methods. A ConfigurationValue has a value and, optionally, a label. The label should be used for display purposes while the value is to be used for configuring the variable or data source. The client code typically does not need to create instances of the ConfigurationValue, but only needs to use them.


Constructor Summary
ConfigurationLayer.ConfigurationValue(java.lang.String value, java.lang.String label)
           
ConfigurationLayer.ConfigurationValue(java.lang.String value, java.lang.String label, Credential credential)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Credential getCredential()
           
 java.lang.String getLabel()
           
 java.lang.String getValue()
           
 int hashCode()
           
 void setCredential(Credential credential)
           
 void setLabel(java.lang.String label)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationLayer.ConfigurationValue

public ConfigurationLayer.ConfigurationValue(java.lang.String value,
                                             java.lang.String label)

ConfigurationLayer.ConfigurationValue

public ConfigurationLayer.ConfigurationValue(java.lang.String value,
                                             java.lang.String label,
                                             Credential credential)
Method Detail

getValue

public java.lang.String getValue()

getLabel

public java.lang.String getLabel()

setValue

public void setValue(java.lang.String value)

setLabel

public void setLabel(java.lang.String label)

setCredential

public void setCredential(Credential credential)

getCredential

public Credential getCredential()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object