public interface IPropertyValue
Property at runtime.
Clients can instantiate property values by using
TaurusFactory.createPropertyValue(Property, String) (or other method
signatures).
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String pValue)
Adds a value to the value list.
|
java.lang.String |
getLabelOrValue()
Returns a label for a Property Value, if one was configured or set by a
retrieval tool.
|
Property |
getProperty()
Gets the property of this property value.
|
EPropertyValueType |
getType() |
java.lang.String |
getValue()
Gets the string value.
|
java.util.List<java.lang.String> |
getValues() |
boolean |
isArray()
Gets whether the property is a text array property.
|
void |
setType(EPropertyValueType pType)
Sets the
EPropertyValueType of the Property value. |
void |
setValue(IExecutionContext pContext,
java.lang.String pValue)
Sets the string value.
|
void |
setValue(java.lang.String pValue)
Sets the actual value.
|
Property getProperty()
java.lang.String getValue()
If the property is of the type ETypes.TEXT_ARRAY this method
returns the values of getValues() separated by the
Property.getStringDelimiterWithoutQuotes() as string.
void setValue(IExecutionContext pContext, java.lang.String pValue)
pContext - the execution contextpValue - the value to setjava.util.List<java.lang.String> getValues()
null, if the Property is not an
array Property or no values have been set.void setValue(java.lang.String pValue)
setValue(IExecutionContext, String) instead.pValue - the new valuevoid addValue(java.lang.String pValue)
pValue - adds the value to the value listgetValues(),
ETypes.TEXT_ARRAYboolean isArray()
true if the property has the type "Text Array"ETypes.TEXT_ARRAYjava.lang.String getLabelOrValue()
If there is no label for this value, the value will be returned.
EPropertyValueType getType()
EPropertyValueType of this Property value.void setType(EPropertyValueType pType)
EPropertyValueType of the Property value.pType - the new property value typeCopyright © 2015 Micro Focus GmbH. All rights reserved.