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


Method 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


Method setKey()

Set key

Usage
geoflow_relation$setKey(key)
Arguments
key

key


Method setLink()

Set link

Usage
geoflow_relation$setLink(link)
Arguments
link

link


Method setMimeType()

Set mime type

Usage
geoflow_relation$setMimeType(mimeType)
Arguments
mimeType

mime type


Method setName()

Set name

Usage
geoflow_relation$setName(name)
Arguments
name

name


Method setDescription()

Set description

Usage
geoflow_relation$setDescription(description)
Arguments
description

description


Method setProv()

Set provenance

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

provenance


Method 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 Dec. 12, 2025, 5:08 p.m.