Package org.isda.cdm
Class Offset
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.Period
-
- org.isda.cdm.Offset
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
- Direct Known Subclasses:
FxFixingDate
,RelativeDateOffset
@RosettaClass @RosettaSynonym(value="Offset", source="FpML_5_10") public class Offset extends Period
A class defining an offset used in calculating a new date relative to a reference date, e.g. calendar days, business days, commodity Business days, etc.- Version:
- 2.5.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Offset.OffsetBuilder
-
Nested classes/interfaces inherited from class org.isda.cdm.Period
Period.PeriodBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Offset.OffsetBuilder
builder()
boolean
equals(java.lang.Object o)
DayTypeEnum
getDayType()
In the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends Offset>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
Offset.OffsetBuilder
toBuilder()
java.lang.String
toString()
-
Methods inherited from class org.isda.cdm.Period
getMeta, getPeriod, getPeriodMultiplier
-
-
-
-
Method Detail
-
getDayType
@RosettaSynonym(value="dayType",source="FpML_5_10") @RosettaSynonym(value="dayType",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="dayType",source="DTCC_11_0") @RosettaSynonym(value="dayType",source="DTCC_9_0") @RosettaSynonym(value="dayType",source="CME_ClearedConfirm_1_17") @RosettaSynonym(value="",source="ISDA_Create_1_0") public final DayTypeEnum getDayType()
In the case of an offset specified as a number of days, this element defines whether consideration is given as to whether a day is a good business day or not. If a day type of business days is specified then non-business days are ignored when calculating the offset. The financial business centers to use for determination of business days are implied by the context in which this element is used. This element must only be included when the offset is specified as a number of days. If the offset is zero days then the dayType element should not be included.
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends Offset> metaData()
-
toBuilder
public Offset.OffsetBuilder toBuilder()
-
builder
public static Offset.OffsetBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
-
-