Interface AnyExternalObject

  • All Superinterfaces:
    GroundedValue, Item, Sequence
    All Known Implementing Classes:
    Bindery.FailureValue, ObjectValue, Tuple

    public interface AnyExternalObject
    extends Item
    An external object is a fourth kind of Item (after nodes, atomic values, and functions): it acts as a wrapper for a Java object (or, in C#, a .NET object).

    This interface deliberately does not use generics, enabling it to be used in the same way both in Java and C#.

    • Method Detail

      • getWrappedObject

        java.lang.Object getWrappedObject()
        Get the Java (or C#) object that is wrapped by this AnyExternalObject
        the wrapped object
      • getItemType

        ItemType getItemType​(TypeHierarchy th)
        Get the item type of the object
        th - the type hierarchy
        the item type