org.oddjob.arooa.types
Class ValueType
java.lang.Object
org.oddjob.arooa.types.ValueType
- All Implemented Interfaces:
- Serializable, ArooaValue
public class ValueType
- extends Object
- implements ArooaValue, Serializable
Description
A simple value. This is the most commonly used
type.
A value can be:
- Any simple type, either text or a number or boolean.
- It can also be a reference to any other type somewhere else. i.e.
value can contain a ${someid.anyvalue} reference.
Example
A value that is a constant string value.
<value value="apple"/>
Example
A value that is a reference to a property.
<value value="${vars.fruit}"/>
- See Also:
- Serialized Form
- Author:
- Rob Gordon.
ELEMENT
public static final ArooaElement ELEMENT
ValueType
public ValueType()
setValue
public void setValue(ArooaValue value)
Property: value
Description: The value.
Required: No.
getValue
public ArooaValue getValue()
toString
public String toString()
- Overrides:
toString
in class Object