getForeignReferences: Get the names of the objects in the Omegahat system

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This queries the Omegahat manager for the names of the different objects it manages for use by .Java, .JavaConstructor and .OmegahatExpression calls. This allows the elements of either the named or anonymous or both databases to be queried.

Usage

1
getForeignReferences(which=c(named = TRUE, anonymous = FALSE))

Arguments

which

a logical vector identifying the named (TRUE) and anonymous (FALSE) databases. The default is both.

Details

This uses the .Java function to invoke the getReferences method of the Omegahat manager/evaluator. This aids one to query and control the interface manager.

Value

A list with the same length as the argument which. Each element is a list of This is not working as designed yet. We need to add a converter for an InterfaceReference.

Author(s)

Duncan Temple Lang, John Chambers

References

http://www.omegahat.org/RSJava

See Also

.Java .JavaConstructor

Examples

1
2
3
4
5
6
7
  getForeignReferences()

    # Just the named values
  getForeignReferences(TRUE)

    # Just the anonymous references
  getForeignReferences(FALSE)

SJava documentation built on Oct. 5, 2016, 4:17 a.m.