Region

@Entity
class Region(var dataID: Long? = null, val leftBorderVersionTime: Timestamp = Timestamp.from(Instant.MIN), val leftBorderVersionID: String? = null, val rightBorderVersionTime: Timestamp = Timestamp.from(Instant.MIN), val rightBorderVersionID: String? = null)

The Region class represents a closed interval in time over a range of version. 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, leftBorderVersionTime: Timestamp = Timestamp.from(Instant.MIN), leftBorderVersionID: String? = null, rightBorderVersionTime: Timestamp = Timestamp.from(Instant.MIN), rightBorderVersionID: 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

Binds the leftBorderVersionTime to a specific version. The specified version must exist and must be known to the system the interval is interpreted on. This field optional.

Link copied to clipboard

Defines the timestamp of the (inclusive) left / past border of the version interval as a UTC instant. Only using a border time allows arbitrary intervals but may be ambiguous across distributed use-cases. This field is required.

Link copied to clipboard

Binds the rightBorderVersionTime to a specific version. The specified version must exist and must be known to the system the interval is interpreted on. This field optional.

Link copied to clipboard

Defines the timestamp of the (inclusive) right / future border of the version interval as a UTC instant. Only using a border time allows arbitrary intervals but may be ambiguous across distributed use-cases. This field is required.

Functions

Link copied to clipboard