com.javelin.fpml.schemes
Class AveragingMethodBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.schemes.SchemeBean
              |
              +--com.javelin.fpml.schemes.AveragingMethodBean
All Implemented Interfaces:
AveragingMethod, java.lang.Cloneable, Scheme, java.io.Serializable

public class AveragingMethodBean
extends SchemeBean
implements AveragingMethod

AveragingMethodBean.java

null

Author:
Javelin Software
See Also:
AveragingMethod, Serialized Form

Field Summary
protected  java.lang.Integer averagingMethodKey
           
protected  AveragingMethodValidator validator
           
 
Fields inherited from class com.javelin.fpml.schemes.SchemeBean
code, description, schemeKey, source
 
Constructor Summary
AveragingMethodBean()
          Construct the Default AveragingMethodBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getAveragingMethodKey()
          Get the Averaging Method Key.
protected  AveragingMethodValidator getAveragingMethodValidator()
           
 java.lang.Class getInterface()
           
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setAveragingMethodKey(java.lang.Integer averagingMethodKey)
          Set the Averaging Method Key.
 java.lang.String toString()
           
 
Methods inherited from class com.javelin.fpml.schemes.SchemeBean
getCode, getDescription, getSchemeKey, getSchemeValidator, getSource, setCode, setDescription, setSchemeKey, setSource
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.javelin.fpml.schemes.Scheme
getCode, getDescription, getSchemeKey, getSource, setCode, setDescription, setSchemeKey, setSource
 

Field Detail

averagingMethodKey

protected java.lang.Integer averagingMethodKey

validator

protected AveragingMethodValidator validator
Constructor Detail

AveragingMethodBean

public AveragingMethodBean()
Construct the Default AveragingMethodBean.

Method Detail

getInterface

public java.lang.Class getInterface()
Overrides:
getInterface in class SchemeBean
See Also:
com.javelin.beans.Bean.getInterface()

getAveragingMethodKey

public java.lang.Integer getAveragingMethodKey()
Description copied from interface: AveragingMethod
Get the Averaging Method Key.

Specified by:
getAveragingMethodKey in interface AveragingMethod
Returns:
Integer or null if it has not been set.
See Also:
AveragingMethod.getAveragingMethodKey()

setAveragingMethodKey

public void setAveragingMethodKey(java.lang.Integer averagingMethodKey)
                           throws ValidationException
Description copied from interface: AveragingMethod
Set the Averaging Method Key.

Specified by:
setAveragingMethodKey in interface AveragingMethod
Parameters:
averagingMethodKey - The value to set.
ValidationException
See Also:
AveragingMethod.setAveragingMethodKey( java.lang.Integer averagingMethodKey )

getAveragingMethodValidator

protected AveragingMethodValidator getAveragingMethodValidator()

toString

public java.lang.String toString()
Overrides:
toString in class SchemeBean
See Also:
Object.toString()

listRelations

public void listRelations(java.util.Vector list,
                          int type)
                   throws ValidationException
List the related beans.

ValidationException

detach

public void detach()
            throws ValidationException
Overrides:
detach in class SchemeBean
ValidationException
See Also:
com.javelin.beans.Beane#detach()

clone

public java.lang.Object clone()
Clone dependent beans.

Specified by:
clone in interface AveragingMethod
Overrides:
clone in class SchemeBean