com.ibm.rational.rpe.api.docspec
Class ConfigurationLayer.ConfigurationValue
java.lang.Object
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.
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
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)
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