Skip to content

Commit

Permalink
#181 - support M4 - CIT existing classes refacotring
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 10, 2024
1 parent c41cb57 commit d6e608f
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 8 deletions.
5 changes: 4 additions & 1 deletion R/ISOAddress.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ ISOAddress <- R6Class("ISOAddress",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_Address",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field deliveryPoint delivery point
Expand Down
5 changes: 4 additions & 1 deletion R/ISOCitation.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ ISOCitation<- R6Class("ISOCitation",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_Citation",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field title title
Expand Down
5 changes: 4 additions & 1 deletion R/ISOCitationSeries.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ ISOCitationSeries <- R6Class("ISOCitationSeries",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_Series",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field name name [0..1]
Expand Down
5 changes: 4 additions & 1 deletion R/ISOContact.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ ISOContact <- R6Class("ISOContact",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_Contact",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field phone phone
Expand Down
5 changes: 4 additions & 1 deletion R/ISOOnLineFunction.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ ISOOnLineFunction <- R6Class("ISOOnLineFunction",
inherit = ISOCodeListValue,
private = list(
xmlElement = "CI_OnLineFunctionCode",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(

Expand Down
5 changes: 4 additions & 1 deletion R/ISOOnlineResource.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ ISOOnlineResource <- R6Class("ISOOnlineResource",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_OnlineResource",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field linkage linkage
Expand Down
5 changes: 4 additions & 1 deletion R/ISORole.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ ISORole <- R6Class("ISORole",
inherit = ISOCodeListValue,
private = list(
xmlElement = "CI_RoleCode",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(

Expand Down
5 changes: 4 additions & 1 deletion R/ISOTelephone.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ ISOTelephone <- R6Class("ISOTelephone",
inherit = ISOAbstractObject,
private = list(
xmlElement = "CI_Telephone",
xmlNamespacePrefix = "GMD"
xmlNamespacePrefix = list(
"19115-1/2" = "GMD",
"19115-3" = "CIT"
)
),
public = list(
#'@field voice voice
Expand Down

0 comments on commit d6e608f

Please sign in to comment.