The version of a resource to select.
Exactly one of action, index
and time stamp properties shall be provided.
- Since:
- 3.1
-
Method Summary
Modifier and TypeMethodDescriptiondefault VersionAction
Indices a version relative to the identified resources.default OptionalInt
getIndex()
Indicates that the Nth version of the resource shall be selected.default Instant
Indicates that the version of the resource closest to the specified date shall be selected.
-
Method Details
-
getAction
@UML(identifier="enum", obligation=CONDITIONAL, specification=ISO_19143) default VersionAction getAction()Indices a version relative to the identified resources.- Returns:
- action to do for selecting a version relative to the identified resource.
-
getIndex
@UML(identifier="index", obligation=CONDITIONAL, specification=ISO_19143) default OptionalInt getIndex()Indicates that the Nth version of the resource shall be selected. The first version of a resource shall be numbered 1. If N exceeds the number of versions available, the latest version of the resource shall be selected.- Returns:
- index (starting at 1) of the version to select.
-
getTimeStamp
@UML(identifier="timeStamp", obligation=CONDITIONAL, specification=ISO_19143) default Instant getTimeStamp()Indicates that the version of the resource closest to the specified date shall be selected.- Returns:
- date and time of the resource to select (nearest neighbor).
-