geoflow_relation: Geoflow relation class

geoflow_relationR Documentation

Geoflow relation class

Description

This class models an relation

Format

R6Class object.

Details

geoflow_relation

Value

Object of R6Class for modelling an relation

Public fields

key

relation key

link

relation link

mimeType

relation mime

name

relation name

description

relation name

prov

provenance,

Methods

Public methods


geoflow_relation$new()

Initializes an object of class geoflow_relation

Usage
geoflow_relation$new(str = NULL)
Arguments
str

character string to initialize from using key-based syntax


geoflow_relation$setKey()

Set key

Usage
geoflow_relation$setKey(key)
Arguments
key

key


geoflow_relation$setLink()

Set link

Usage
geoflow_relation$setLink(link)
Arguments
link

link


geoflow_relation$setMimeType()

Set mime type

Usage
geoflow_relation$setMimeType(mimeType)
Arguments
mimeType

mime type


geoflow_relation$setName()

Set name

Usage
geoflow_relation$setName(name)
Arguments
name

name


geoflow_relation$setDescription()

Set description

Usage
geoflow_relation$setDescription(description)
Arguments
description

description


geoflow_relation$setProv()

Set provenance

Usage
geoflow_relation$setProv(prov = c("user", "geoflow"))
Arguments
prov

provenance


geoflow_relation$clone()

The objects of this class are cloneable with this method.

Usage
geoflow_relation$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
  relation <- geoflow_relation$new()
  relation$setProv("user")
  relation$setKey("wms")
  relation$setLink("http://somelink/wms")
  relation$setMimeType("application/xml")
  relation$setName("layername")
  relation$setDescription("layer description")

## End(Not run)


geoflow documentation built on Sept. 5, 2026, 5:08 p.m.