ISOAssociationRole

ISOAssociationRole

Format

R6Class object.

Value

Object of R6Class for modelling an ISOAssociationRole

References

ISO 19110:2005 Methodology for Feature cataloguing

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Public fields

type

type: ISORoleType

isOrdered

isOrdered: logical

isNavigable

isNavigable: logical

relation

relation: ISOAssociationRole

rolePlayer

rolePlayer: ISOFeatureType

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOAssociationRole$new(xml = NULL)

Arguments

xml

object of class XMLInternalNode-class


Method setRoleType()

Set role type

Usage

ISOAssociationRole$setRoleType(roleType)

Arguments

roleType

role type, object of class ISORoleType or any character among values returned by ISORoleType$values()


Method setIsOrdered()

Set is ordered

Usage

ISOAssociationRole$setIsOrdered(isOrdered)

Arguments

isOrdered

object of class logical


Method setIsNavigable()

Set is navigable

Usage

ISOAssociationRole$setIsNavigable(isNavigable)

Arguments

isNavigable

object of class logical


Method setRelation()

Set relation

Usage

ISOAssociationRole$setRelation(relation)

Arguments

relation

relation


Method addRolePlayer()

Adds role player

Usage

ISOAssociationRole$addRolePlayer(rolePlayer)

Arguments

rolePlayer

object of class ISOFeatureType

Returns

TRUE if added, FALSE otherwise


Method delRolePlayer()

Deletes role player

Usage

ISOAssociationRole$delRolePlayer(rolePlayer)

Arguments

rolePlayer

object of class ISOFeatureType

Returns

TRUE if deleted, FALSE otherwise


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOAssociationRole$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.