Interface DataLayer<T>

Type Parameters:
T - The type used to identify a layer, typically a string
All Known Implementing Classes:
VectorNode, VectorPrimitive, VectorRelation, VectorWay

public interface DataLayer<T>
An interface for objects that are part of a data layer
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the layer
    default boolean
    setLayer(T layer)
    Set the layer
  • Method Details

    • getLayer

      Get the layer
      Returns:
      The layer
    • setLayer

      default boolean setLayer(T layer)
      Set the layer
      Parameters:
      layer - The layer to set
      Returns:
      true if the layer was set -- some objects may never change layers.