Package cdm.base.datetime
Class PeriodBound.PeriodBoundImpl
java.lang.Object
cdm.base.datetime.PeriodBound.PeriodBoundImpl
- All Implemented Interfaces:
PeriodBound,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
PeriodBound
Immutable Implementation of PeriodBound
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.PeriodBound
PeriodBound.PeriodBoundBuilder, PeriodBound.PeriodBoundBuilderImpl, PeriodBound.PeriodBoundImpl -
Field Summary
Fields inherited from interface cdm.base.datetime.PeriodBound
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanSpecifies whether the period bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.Specifies the period is to be used as the bound, e.g. 5Y.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.datetime.PeriodBound
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
PeriodBoundImpl
-
-
Method Details
-
getPeriod
@RosettaAttribute(value="period", isRequired=true) @RuneAttribute(value="period", isRequired=true) public Period getPeriod()Description copied from interface:PeriodBoundSpecifies the period is to be used as the bound, e.g. 5Y.- Specified by:
getPeriodin interfacePeriodBound
-
getInclusive
@RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public Boolean getInclusive()Description copied from interface:PeriodBoundSpecifies whether the period bound is inclusive, e.g. for a lower bound, false would indicate greater than, whereas true would indicate greater than or equal to.- Specified by:
getInclusivein interfacePeriodBound
-
build
Description copied from interface:PeriodBoundBuild Methods- Specified by:
buildin interfacePeriodBound- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfacePeriodBound- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-