GNVersion {geonapi} | R Documentation |
A GeoNetwork version
Description
This class is an utility wrap the Geonetwork version
Format
R6Class
object.
Details
GeoNetwork REST API - GeoNetwork Version
Value
Object of R6Class
for modelling a GeoNetwork version
Public fields
version
version
value
value
Methods
Public methods
Method new()
Initializes an object of class GNVersion
Usage
GNVersion$new(version)
Arguments
version
version
Method lowerThan()
Compares to a version and returns TRUE if it is lower, FALSE otherwise
Usage
GNVersion$lowerThan(version)
Arguments
version
version
Returns
TRUE
if lower, FALSE
otherwise
Method greaterThan()
Compares to a version and returns TRUE if it is greater, FALSE otherwise
Usage
GNVersion$greaterThan(version)
Arguments
version
version
Returns
TRUE
if lower, FALSE
otherwise
Method equalTo()
Compares to a version and returns TRUE if it is equal, FALSE otherwise
Usage
GNVersion$equalTo(version)
Arguments
version
version
Returns
TRUE
if lower, FALSE
otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
GNVersion$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
version <- GNVersion$new("2.6.4")
## End(Not run)
[Package geonapi version 0.7-2 Index]