Point

@Entity
class Point(var dataID: Long? = null, val variantTime: Timestamp = Timestamp.from(Instant.MIN), val variantID: String? = null, val versionTime: Timestamp? = null, val versionID: String? = null)

The Point class represents a closed interval in space-time over a single variant (point in space) or a single point in space-time by adding a single version (that is optional). The interval targets one particular variant that is inferred by the usage context of the interval.

See also

Constructors

Link copied to clipboard
constructor()
constructor(dataID: Long? = null, variantTime: Timestamp = Timestamp.from(Instant.MIN), variantID: String? = null, versionTime: Timestamp? = null, versionID: String? = null)

Properties

Link copied to clipboard
var dataID: Long?

Technical database (JPA) identifier used for relation joins. The dataID is system specific and not exported to XML. It must not be used to identify elements in distributed use-cases. It should not be used to identify elements from outside the service. All model elements provide other suitable identifiers to be used.

Link copied to clipboard
val variantID: String? = null

Binds the variantTime to a specific version ID. This field optional but its usage is strongly proposed due to the ambiguity of a variant timestamp alone.

Link copied to clipboard

Defines the timestamp of the single variant (point in space, range in time) as a UTC instant. This field is required.

Link copied to clipboard
val versionID: String? = null

Binds the versionTime to a specific version ID to resolve unambiguity, This field optional.

Link copied to clipboard
val versionTime: Timestamp? = null

Defines the timestamp of the single version (point in time) as a UTC instant. This field is optional. Using a version time collapses the range to one single point in space-time, i.e., a single variant+version pair.

Functions

Link copied to clipboard