SJava (version 0.98.0)

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

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

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

Arguments

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

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.

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.

References

http://www.omegahat.org/RSJava

See Also

.Java .JavaConstructor

Examples

Run this code
  getForeignReferences()

    # Just the named values
  getForeignReferences(TRUE)

    # Just the anonymous references
  getForeignReferences(FALSE)

Run the code above in your browser using DataLab