net.sf.fikin.pojostate.state
Class SnapshotState.StaticProperty

java.lang.Object
  extended by net.sf.fikin.pojostate.state.AbstractDecoratorProperty
      extended by net.sf.fikin.pojostate.state.SnapshotState.StaticProperty
All Implemented Interfaces:
java.lang.Comparable, MethodMeta, Property
Enclosing class:
SnapshotState

public class SnapshotState.StaticProperty
extends AbstractDecoratorProperty

Implements read-once method value, executed upon object construction time created on Mar 1, 2007

Since:
Version:
$Revision: 1.1 $
Author:
fiykov

Constructor Summary
SnapshotState.StaticProperty(MethodMeta method)
          construct new Property instance and obtain Method's value
 
Method Summary
 java.lang.String getValue()
          get key's formatted value
protected  void setValue(java.lang.String value)
          assign the value
 
Methods inherited from class net.sf.fikin.pojostate.state.AbstractDecoratorProperty
compareTo, getDescription, getFormat, getMethod, getMethodMeta, getName, obtainValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotState.StaticProperty

public SnapshotState.StaticProperty(MethodMeta method)
                             throws DecorationException
construct new Property instance and obtain Method's value

Parameters:
method -
Throws:
DecorationException
Method Detail

setValue

protected void setValue(java.lang.String value)
assign the value

Parameters:
value -

getValue

public java.lang.String getValue()
get key's formatted value

Returns:
key's value


Copyright © 2005 Nikolay Fiykov. All Rights Reserved.