Package cdm.base.datetime
Class TimeRounding.TimeRoundingBuilderImpl
java.lang.Object
cdm.base.datetime.TimeRounding.TimeRoundingBuilderImpl
- All Implemented Interfaces:
TimeRounding,TimeRounding.TimeRoundingBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
TimeRounding
public static class TimeRounding.TimeRoundingBuilderImpl
extends Object
implements TimeRounding.TimeRoundingBuilder
Builder Implementation of TimeRounding
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.datetime.TimeRounding
TimeRounding.TimeRoundingBuilder, TimeRounding.TimeRoundingBuilderImpl, TimeRounding.TimeRoundingImpl -
Field Summary
FieldsFields inherited from interface cdm.base.datetime.TimeRounding
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanThe direction in which rounding is performed (e.g., up, down, or to the nearest value).The time unit to which the value should be rounded (e.g., minute, hour, day).booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setRoundingDirection(RoundingDirectionEnum _roundingDirection) setRoundToUnit(TimeUnitEnum _roundToUnit) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.base.datetime.TimeRounding
getType, metaData, processMethods inherited from interface cdm.base.datetime.TimeRounding.TimeRoundingBuilder
process
-
Field Details
-
roundingDirection
-
roundToUnit
-
-
Constructor Details
-
TimeRoundingBuilderImpl
public TimeRoundingBuilderImpl()
-
-
Method Details
-
getRoundingDirection
@RosettaAttribute("roundingDirection") @Accessor(GETTER) @Required @RuneAttribute("roundingDirection") public RoundingDirectionEnum getRoundingDirection()Description copied from interface:TimeRoundingThe direction in which rounding is performed (e.g., up, down, or to the nearest value).- Specified by:
getRoundingDirectionin interfaceTimeRounding
-
getRoundToUnit
@RosettaAttribute("roundToUnit") @Accessor(GETTER) @RuneAttribute("roundToUnit") public TimeUnitEnum getRoundToUnit()Description copied from interface:TimeRoundingThe time unit to which the value should be rounded (e.g., minute, hour, day).- Specified by:
getRoundToUnitin interfaceTimeRounding
-
setRoundingDirection
@RosettaAttribute("roundingDirection") @Accessor(SETTER) @Required @RuneAttribute("roundingDirection") public TimeRounding.TimeRoundingBuilder setRoundingDirection(RoundingDirectionEnum _roundingDirection) - Specified by:
setRoundingDirectionin interfaceTimeRounding.TimeRoundingBuilder
-
setRoundToUnit
@RosettaAttribute("roundToUnit") @Accessor(SETTER) @RuneAttribute("roundToUnit") public TimeRounding.TimeRoundingBuilder setRoundToUnit(TimeUnitEnum _roundToUnit) - Specified by:
setRoundToUnitin interfaceTimeRounding.TimeRoundingBuilder
-
build
Description copied from interface:TimeRoundingBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceTimeRounding
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceTimeRounding
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceTimeRounding.TimeRoundingBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public TimeRounding.TimeRoundingBuilder 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
-