com.sun.labs.minion
Class FieldMultiplier

java.lang.Object
  extended by com.sun.labs.minion.FieldMultiplier
All Implemented Interfaces:
com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable

public class FieldMultiplier
extends java.lang.Object
implements com.sun.labs.util.props.Configurable

Inner class to encapsulate a field multiplier so it can be used by the configuration management mechanism.


Field Summary
static java.lang.String PROP_MULTIPLIER_NAME
           
static java.lang.String PROP_MULTIPLIER_VALUE
           
 
Constructor Summary
FieldMultiplier()
           
 
Method Summary
 java.lang.String getName()
           
 float getValue()
           
 void newProperties(com.sun.labs.util.props.PropertySheet ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_MULTIPLIER_NAME

@ConfigString(mandatory=true)
public static final java.lang.String PROP_MULTIPLIER_NAME
See Also:
Constant Field Values

PROP_MULTIPLIER_VALUE

@ConfigDouble(mandatory=true,
              defaultValue=1.0)
public static final java.lang.String PROP_MULTIPLIER_VALUE
See Also:
Constant Field Values
Constructor Detail

FieldMultiplier

public FieldMultiplier()
Method Detail

getName

public java.lang.String getName()

getValue

public float getValue()

newProperties

public void newProperties(com.sun.labs.util.props.PropertySheet ps)
                   throws com.sun.labs.util.props.PropertyException
Specified by:
newProperties in interface com.sun.labs.util.props.Configurable
Throws:
com.sun.labs.util.props.PropertyException