com.javelin.fpml.shared
Class BusinessDateRangeBean

java.lang.Object
  |
  +--AbstractBean
        |
        +--com.javelin.fpml.shared.DateRangeBean
              |
              +--com.javelin.fpml.shared.BusinessDateRangeBean
All Implemented Interfaces:
BusinessDateRange, java.lang.Cloneable, DateRange, java.io.Serializable

public class BusinessDateRangeBean
extends DateRangeBean
implements BusinessDateRange

BusinessDateRangeBean.java

null

Author:
Javelin Software
See Also:
BusinessDateRange, Serialized Form

Field Summary
protected  BusinessCenters businessCenters
           
protected  java.lang.String businessCentersReference
           
protected  java.lang.Integer businessDateRangeKey
           
protected  BusinessDayConvention businessDayConvention
           
protected  BusinessDateRangeValidator validator
           
 
Fields inherited from class com.javelin.fpml.shared.DateRangeBean
dateRangeKey, relativeDates, unadjustedFirstDate, unadjustedLastDate
 
Constructor Summary
BusinessDateRangeBean()
          Construct the Default BusinessDateRangeBean.
 
Method Summary
 java.lang.Object clone()
          Clone dependent beans.
 void detach()
           
 BusinessCenters getBusinessCenters()
          Get the Business Centers.
 java.lang.String getBusinessCentersReference()
          Get the Business Centers Reference.
 java.lang.Integer getBusinessDateRangeKey()
          Get the Business Date Range Key.
protected  BusinessDateRangeValidator getBusinessDateRangeValidator()
           
 BusinessDayConvention getBusinessDayConvention()
          Get the Business Day Convention.
 java.lang.Class getInterface()
           
 void listRelations(java.util.Vector list, int type)
          List the related beans.
 void setBusinessCenters(BusinessCenters businessCenters)
          Set the Business Centers.
 void setBusinessCentersReference(java.lang.String businessCentersReference)
          Set the Business Centers Reference.
 void setBusinessDateRangeKey(java.lang.Integer businessDateRangeKey)
          Set the Business Date Range Key.
 void setBusinessDayConvention(BusinessDayConvention businessDayConvention)
          Set the Business Day Convention.
 java.lang.String toString()
           
 
Methods inherited from class com.javelin.fpml.shared.DateRangeBean
getDateRangeKey, getDateRangeValidator, getRelativeDatesScheduleBounds, getUnadjustedFirstDate, getUnadjustedLastDate, setDateRangeKey, setRelativeDatesScheduleBounds, setUnadjustedFirstDate, setUnadjustedLastDate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.javelin.fpml.shared.DateRange
getDateRangeKey, getRelativeDatesScheduleBounds, getUnadjustedFirstDate, getUnadjustedLastDate, setDateRangeKey, setRelativeDatesScheduleBounds, setUnadjustedFirstDate, setUnadjustedLastDate
 

Field Detail

businessDateRangeKey

protected java.lang.Integer businessDateRangeKey

businessDayConvention

protected transient BusinessDayConvention businessDayConvention

businessCentersReference

protected java.lang.String businessCentersReference

businessCenters

protected transient BusinessCenters businessCenters

validator

protected BusinessDateRangeValidator validator
Constructor Detail

BusinessDateRangeBean

public BusinessDateRangeBean()
Construct the Default BusinessDateRangeBean.

Method Detail

getInterface

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

getBusinessDateRangeKey

public java.lang.Integer getBusinessDateRangeKey()
Description copied from interface: BusinessDateRange
Get the Business Date Range Key.

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

setBusinessDateRangeKey

public void setBusinessDateRangeKey(java.lang.Integer businessDateRangeKey)
                             throws ValidationException
Description copied from interface: BusinessDateRange
Set the Business Date Range Key.

Specified by:
setBusinessDateRangeKey in interface BusinessDateRange
Parameters:
businessDateRangeKey - The value to set.
ValidationException
See Also:
BusinessDateRange.setBusinessDateRangeKey( java.lang.Integer businessDateRangeKey )

getBusinessDayConvention

public BusinessDayConvention getBusinessDayConvention()
Description copied from interface: BusinessDateRange
Get the Business Day Convention.

Specified by:
getBusinessDayConvention in interface BusinessDateRange
Returns:
BusinessDayConvention or a default value of null if it has not been set.
See Also:
BusinessDateRange.getBusinessDayConvention()

setBusinessDayConvention

public void setBusinessDayConvention(BusinessDayConvention businessDayConvention)
                              throws ValidationException
Description copied from interface: BusinessDateRange
Set the Business Day Convention.

Specified by:
setBusinessDayConvention in interface BusinessDateRange
Parameters:
businessDayConvention - The value to set.
ValidationException
See Also:
BusinessDateRange.setBusinessDayConvention( BusinessDayConvention businessDayConvention )

getBusinessCentersReference

public java.lang.String getBusinessCentersReference()
Description copied from interface: BusinessDateRange
Get the Business Centers Reference.

Specified by:
getBusinessCentersReference in interface BusinessDateRange
Returns:
String or a default value of null if it has not been set.
See Also:
BusinessDateRange.getBusinessCentersReference()

setBusinessCentersReference

public void setBusinessCentersReference(java.lang.String businessCentersReference)
                                 throws ValidationException
Description copied from interface: BusinessDateRange
Set the Business Centers Reference.

Specified by:
setBusinessCentersReference in interface BusinessDateRange
Parameters:
businessCentersReference - The value to set.
ValidationException
See Also:
BusinessDateRange.setBusinessCentersReference( java.lang.String businessCentersReference )

getBusinessCenters

public BusinessCenters getBusinessCenters()
Description copied from interface: BusinessDateRange
Get the Business Centers.

Specified by:
getBusinessCenters in interface BusinessDateRange
Returns:
BusinessCenters or a default value of null if it has not been set.
See Also:
BusinessDateRange.getBusinessCenters()

setBusinessCenters

public void setBusinessCenters(BusinessCenters businessCenters)
                        throws ValidationException
Description copied from interface: BusinessDateRange
Set the Business Centers.

Specified by:
setBusinessCenters in interface BusinessDateRange
Parameters:
businessCenters - The value to set.
ValidationException
See Also:
BusinessDateRange.setBusinessCenters( BusinessCenters businessCenters )

getBusinessDateRangeValidator

protected BusinessDateRangeValidator getBusinessDateRangeValidator()

toString

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

listRelations

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

Overrides:
listRelations in class DateRangeBean
ValidationException

detach

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

clone

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

Specified by:
clone in interface BusinessDateRange
Overrides:
clone in class DateRangeBean