Class HierarchicalTableTypePlugin

All Implemented Interfaces:
Plugin, Registration, ObjectType

@AutoService(ObjectType.class) public class HierarchicalTableTypePlugin extends ObjectTypeBase.FetchOnly
An object type named "HierarchicalTable" of java class type HierarchicalTable.
  • Constructor Details

    • HierarchicalTableTypePlugin

      public HierarchicalTableTypePlugin()
  • Method Details

    • name

      public String name()
      Description copied from interface: ObjectType
      The name of the object type.
      Returns:
      the name
    • isType

      public boolean isType(Object object)
      Description copied from interface: ObjectType
      Returns true if, and only if, the object is compatible with this object type.
      Parameters:
      object - the object
      Returns:
      true if the object is compatible
    • writeCompatibleObjectTo

      public void writeCompatibleObjectTo(@NotNull @NotNull Exporter exporter, @NotNull @NotNull Object object, @NotNull @NotNull OutputStream out) throws IOException
      Description copied from class: ObjectTypeBase.FetchOnly
      Serializes object as bytes to out. Must only be called with a compatible object. Server-side objects that should be sent as references to the client (but not themselves serialized in this payload) can be exported using the exporter - each returned Exporter.Reference will have an index, denoting its position on the array of exported objects to be received by the client.
      Specified by:
      writeCompatibleObjectTo in class ObjectTypeBase.FetchOnly
      Parameters:
      exporter - the exporter
      object - the compatible object
      out - the output stream
      Throws:
      IOException - if output stream operations failed, the export will then fail, and the client will get a generic error