net.sf.fikin.pojostate.state
Class DynamicState.DynamicProperty
java.lang.Object
net.sf.fikin.pojostate.state.AbstractDecoratorProperty
net.sf.fikin.pojostate.state.DynamicState.DynamicProperty
- All Implemented Interfaces:
- java.lang.Comparable, MethodMeta, Property
- Enclosing class:
- DynamicState
public class DynamicState.DynamicProperty
- extends AbstractDecoratorProperty
Implements dynamic read-execute value
It expect MethodMeta, the actual POJO is accessed from nestling class.
Upon call to getValue()
it will execute underlying method,
obtain the return value, apply formatting to it and then deliver it
to the caller.
created on Mar 1, 2007
- Since:
- Version:
- $Revision: 1.2 $
- Author:
- fiykov
Method Summary |
java.lang.String |
getValue()
get key's formatted value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicState.DynamicProperty
public DynamicState.DynamicProperty(MethodMeta method)
- instantiate new property object
- Parameters:
method
-
getValue
public java.lang.String getValue()
throws DecorationException
- get key's formatted value
- Returns:
- key's value
- Throws:
DecorationException
Copyright © 2005 Nikolay Fiykov. All Rights Reserved.