Skip to contents

Functions to retrieve the name of a SAProcessing (.jsap_name()) or SaItem (.jsa_name()).

This function is used to retrieve the Java names of all the sa_items contained in a SA-Processing.

Usage

.jsa_name(jsa)

.jsap_name(jsap)

.jsap_sa_name(jsap)

Arguments

jsap, jsa

the object to retrieve the name from.

jsap

the java object representing the SA-Processing

Value

A vector character.

See also

Other functions to retrieve the name of JDemetra+ objects (workspace, SA-Processing or sa-item): .jsa_name, .jsap_name.

Examples

# \donttest{

y <- rjd3toolkit::ABS$X0.2.09.10.M

jws <- .jws_new()
jsap1 <- .jws_sap_new(jws, "sa1")

add_sa_item(jsap1, name = "x13", x = rjd3x13::x13(y))
add_sa_item(jsap1, name = "tramo", x = rjd3tramoseats::tramoseats(y))
add_sa_item(jsap1, name = "x13-2", x = y, rjd3x13::x13_spec())
add_sa_item(jsap1, name = "tramo-2", x = y, rjd3tramoseats::tramoseats_spec())

print(.jsap_sa_name(jsap1))
#> [1] "x13"     "tramo"   "x13-2"   "tramo-2"
# }