org.rhq.enterprise.installer
Class PropertyItemWithValue
java.lang.Object
org.rhq.enterprise.installer.PropertyItemWithValue
public class PropertyItemWithValue
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyItemWithValue
public PropertyItemWithValue(PropertyItem itemDefinition,
java.lang.String value)
getItemDefinition
public PropertyItem getItemDefinition()
setItemDefinition
public void setItemDefinition(PropertyItem itemDefinition)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
- Sets the property's value. If the given value is null or empty,
a default will be assigned depending on the property's type.
- Parameters:
value - the new property value
setRawValue
public void setRawValue(java.lang.String value)
- Sets the property's value. No matter what value is, it will
be stored as-is. See
setValue(String) for different behavior.
- Parameters:
value - the new value
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.