Class DataPropertyPath

java.lang.Object
com.luciad.datamodels.DataPropertyPath
All Implemented Interfaces:
AutoCloseable

public final class DataPropertyPath extends Object implements AutoCloseable
Describes the path to a DataProperty in a DataType.

This can also describe paths to nested properties. The path is related to a specific DataType (its originType) and is used to address values in data objects of that type.

  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • newBuilder

      @NotNull public static DataPropertyPath.Builder newBuilder()
      Creates a new builder.
      Returns:
      a new builder.
    • asBuilder

      @NotNull public DataPropertyPath.Builder asBuilder()
      Returns a builder with the current data property path.
      Returns:
      a builder with the current data property path.
    • getOriginType

      @NotNull public DataType getOriginType()
      Returns the type of data object that this path accesses.
      Returns:
      the type of data object that this path accesses.
    • getValueType

      @NotNull public DataType getValueType()
      Returns the value type of the property that this path points to.
      Returns:
      the value type of the property that this path points to.
    • toString

      @NotNull public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Returns the hash code.
      Overrides:
      hashCode in class Object
      Returns:
      the hash code.
    • equals

      public boolean equals(@Nullable Object other)
      Overrides:
      equals in class Object