com.javelin.fpml.schemes
Class BusinessDayConventionBean

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

public class BusinessDayConventionBean
extends SchemeBean
implements BusinessDayConvention

BusinessDayConventionBean.java

null

Author:
Javelin Software
See Also:
BusinessDayConvention, Serialized Form

Field Summary
protected  java.lang.Integer businessDayConventionKey
           
protected  BusinessDayConventionValidator validator
           
 
Fields inherited from class com.javelin.fpml.schemes.SchemeBean
code, description, schemeKey, source
 
Constructor Summary
BusinessDayConventionBean()
          Construct the Default BusinessDayConventionBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 java.lang.Integer getBusinessDayConventionKey()
          Get the Business Day Convention Key.
protected  BusinessDayConventionValidator getBusinessDayConventionValidator()
           
 java.lang.Class getInterface()
           
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setBusinessDayConventionKey(java.lang.Integer businessDayConventionKey)
          Set the Business Day Convention 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

businessDayConventionKey

protected java.lang.Integer businessDayConventionKey

validator

protected BusinessDayConventionValidator validator
Constructor Detail

BusinessDayConventionBean

public BusinessDayConventionBean()
Construct the Default BusinessDayConventionBean.

Method Detail

getInterface

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

getBusinessDayConventionKey

public java.lang.Integer getBusinessDayConventionKey()
Description copied from interface: BusinessDayConvention
Get the Business Day Convention Key.

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

setBusinessDayConventionKey

public void setBusinessDayConventionKey(java.lang.Integer businessDayConventionKey)
                                 throws ValidationException
Description copied from interface: BusinessDayConvention
Set the Business Day Convention Key.

Specified by:
setBusinessDayConventionKey in interface BusinessDayConvention
Parameters:
businessDayConventionKey - The value to set.
ValidationException
See Also:
BusinessDayConvention.setBusinessDayConventionKey( java.lang.Integer businessDayConventionKey )

getBusinessDayConventionValidator

protected BusinessDayConventionValidator getBusinessDayConventionValidator()

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 BusinessDayConvention
Overrides:
clone in class SchemeBean