Nothing
#' ISOMultiplicityRange
#'
#' @docType class
#' @importFrom R6 R6Class
#' @export
#' @keywords ISO multiplicity range
#' @return Object of \code{\link{R6Class}} for modelling an ISO MultiplicityRange
#' @format \code{\link{R6Class}} object.
#'
#'
#' @examples
#' md <- ISOMultiplicityRange$new(lower = 1, upper = Inf)
#' xml <- md$encode()
#'
#' @references
#' ISO/TS 19103:2005 Geographic information -- Conceptual schema language
#'
#' @author Emmanuel Blondel <emmanuel.blondel1@@gmail.com>
#'
ISOMultiplicityRange <- R6Class("ISOMultiplicityRange",
inherit = ISOAbstractObject,
private = list(
xmlElement = "MultiplicityRange",
xmlNamespacePrefix = "GCO"
),
public = list(
#'@field lower lower
lower = NULL,
#'@field upper upper
upper = NULL,
#'@description Initializes object
#'@param xml object of class \link{XMLInternalNode-class}
#'@param lower lower
#'@param upper upper
initialize = function(xml = NULL, lower, upper){
super$initialize(xml = xml)
if(is.null(xml)){
if(!is(lower, "integer")){
lower <- as.integer(lower)
if(is.na(lower)){
stop("The argument 'lower' should an integer")
}
}
self$lower = lower
self$upper = upper
class(self$upper) <- "unlimitedinteger"
}
}
)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.