Package cdm.base.datetime
Interface DirectOrRelativeTime
- All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
DirectOrRelativeTime.DirectOrRelativeTimeBuilder
- All Known Implementing Classes:
DirectOrRelativeTime.DirectOrRelativeTimeBuilderImpl,DirectOrRelativeTime.DirectOrRelativeTimeImpl
@RosettaDataType(value="DirectOrRelativeTime",
builder=DirectOrRelativeTimeBuilderImpl.class,
version="7.0.0-dev.105")
@RuneDataType(value="DirectOrRelativeTime",
model="cdm",
builder=DirectOrRelativeTimeBuilderImpl.class,
version="7.0.0-dev.105")
public interface DirectOrRelativeTime
extends com.rosetta.model.lib.RosettaModelObject
Represents a time definition that can be either an absolute (direct) time or a time calculated relative to another referenced time. Either one directTime or one relativeTime should be provided
- Version:
- 7.0.0-dev.105
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of DirectOrRelativeTimestatic classImmutable Implementation of DirectOrRelativeTime -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()An absolute time value expressed in a specific time zone.A time value calculated relative to another reference time.default Class<? extends DirectOrRelativeTime> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends DirectOrRelativeTime> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getDirectTime
TimeZone getDirectTime()An absolute time value expressed in a specific time zone. -
getRelativeTime
RelativeTime getRelativeTime()A time value calculated relative to another reference time. -
build
DirectOrRelativeTime build()Build Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
DirectOrRelativeTime.DirectOrRelativeTimeBuilder toBuilder()- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-