org.oddjob.arooa.types
Class ValueType

java.lang.Object
  extended by 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:

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.

Nested Class Summary
static class ValueType.Conversions
           
static class ValueType.ValueDesignFactory
           
 
Field Summary
static ArooaElement ELEMENT
           
 
Constructor Summary
ValueType()
           
 
Method Summary
 ArooaValue getValue()
           
 void setValue(ArooaValue value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ELEMENT

public static final ArooaElement ELEMENT
Constructor Detail

ValueType

public ValueType()
Method Detail

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