Package cdm.base.datetime
Class PeriodBound.PeriodBoundBuilderImpl
java.lang.Object
cdm.base.datetime.PeriodBound.PeriodBoundBuilderImpl
- All Implemented Interfaces:
PeriodBound,PeriodBound.PeriodBoundBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
PeriodBound
public static class PeriodBound.PeriodBoundBuilderImpl
extends Object
implements PeriodBound.PeriodBoundBuilder
Builder Implementation of PeriodBound
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.PeriodBound
PeriodBound.PeriodBoundBuilder, PeriodBound.PeriodBoundBuilderImpl, PeriodBound.PeriodBoundImpl -
Field Summary
FieldsFields 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.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setInclusive(Boolean _inclusive) toString()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 cdm.base.datetime.PeriodBound.PeriodBoundBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
period
-
inclusive
-
-
Constructor Details
-
PeriodBoundBuilderImpl
public PeriodBoundBuilderImpl()
-
-
Method Details
-
getPeriod
@RosettaAttribute(value="period", isRequired=true) @RuneAttribute(value="period", isRequired=true) public Period.PeriodBuilder getPeriod()Description copied from interface:PeriodBoundSpecifies the period is to be used as the bound, e.g. 5Y.- Specified by:
getPeriodin interfacePeriodBound- Specified by:
getPeriodin interfacePeriodBound.PeriodBoundBuilder
-
getOrCreatePeriod
- Specified by:
getOrCreatePeriodin interfacePeriodBound.PeriodBoundBuilder
-
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
-
setPeriod
@RosettaAttribute(value="period", isRequired=true) @RuneAttribute(value="period", isRequired=true) public PeriodBound.PeriodBoundBuilder setPeriod(Period _period) - Specified by:
setPeriodin interfacePeriodBound.PeriodBoundBuilder
-
setInclusive
@RosettaAttribute(value="inclusive", isRequired=true) @RuneAttribute(value="inclusive", isRequired=true) public PeriodBound.PeriodBoundBuilder setInclusive(Boolean _inclusive) - Specified by:
setInclusivein interfacePeriodBound.PeriodBoundBuilder
-
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
-
prune
- Specified by:
prunein interfacePeriodBound.PeriodBoundBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public PeriodBound.PeriodBoundBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-