com.javelin.fpml.shared
Interface BusinessDateRange

All Superinterfaces:
java.lang.Cloneable, DateRange, java.io.Serializable
All Known Implementing Classes:
BusinessDateRangeBean

public interface BusinessDateRange
extends DateRange, java.lang.Cloneable, java.io.Serializable

BusinessDateRange.java

null

Author:
Javelin Software
See Also:
BusinessDateRangeHome, BusinessDateRangeSession, BusinessDateRangeValidator, BusinessDateRangeBean, com.javelin.fpml.shared.lazy.LazyBusinessDateRangeBean

Method Summary
 java.lang.Object clone()
          Clone bean without throwing an Exception.
 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.
 BusinessDayConvention getBusinessDayConvention()
          Get the Business Day Convention.
 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.
 
Methods inherited from interface com.javelin.fpml.shared.DateRange
getDateRangeKey, getRelativeDatesScheduleBounds, getUnadjustedFirstDate, getUnadjustedLastDate, setDateRangeKey, setRelativeDatesScheduleBounds, setUnadjustedFirstDate, setUnadjustedLastDate
 

Method Detail

getBusinessDateRangeKey

public java.lang.Integer getBusinessDateRangeKey()
Get the Business Date Range Key.

Returns:
Integer or null if it has not been set.

setBusinessDateRangeKey

public void setBusinessDateRangeKey(java.lang.Integer businessDateRangeKey)
                             throws ValidationException
Set the Business Date Range Key.

Parameters:
businessDateRangeKey - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
BusinessDateRangeValidator

getBusinessDayConvention

public BusinessDayConvention getBusinessDayConvention()
Get the Business Day Convention.

Returns:
BusinessDayConvention or a default value of null if it has not been set.

setBusinessDayConvention

public void setBusinessDayConvention(BusinessDayConvention businessDayConvention)
                              throws ValidationException
Set the Business Day Convention.

Parameters:
businessDayConvention - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
BusinessDateRangeValidator

getBusinessCentersReference

public java.lang.String getBusinessCentersReference()
Get the Business Centers Reference.

Returns:
String or a default value of null if it has not been set.

setBusinessCentersReference

public void setBusinessCentersReference(java.lang.String businessCentersReference)
                                 throws ValidationException
Set the Business Centers Reference.

Parameters:
businessCentersReference - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
BusinessDateRangeValidator

getBusinessCenters

public BusinessCenters getBusinessCenters()
Get the Business Centers.

Returns:
BusinessCenters or a default value of null if it has not been set.

setBusinessCenters

public void setBusinessCenters(BusinessCenters businessCenters)
                        throws ValidationException
Set the Business Centers.

Parameters:
businessCenters - The value to set.
Throws:
ValidationException - If there was a problem validating the value.
See Also:
BusinessDateRangeValidator

clone

public java.lang.Object clone()
Clone bean without throwing an Exception.

Specified by:
clone in interface DateRange
Overrides:
clone in class java.lang.Object