Class RelationPath

All Implemented Interfaces:
HasHandlers

public class RelationPath extends DataClass
A simple object representing the path for navigation from source to target DataSources via foreign key declarations defined between each.
  • Constructor Details

    • RelationPath

      public RelationPath()
    • RelationPath

      public RelationPath(JavaScriptObject jsObj)
  • Method Details

    • getOrCreateRef

      public static RelationPath getOrCreateRef(JavaScriptObject jsObj)
    • setDistance

      public RelationPath setDistance(Integer distance)
      A number representing the distance between source and target DataSources. Equal to the number of separators in the path.
      Parameters:
      distance - New distance value. Default value is null
      Returns:
      RelationPath instance, for chaining setter calls
    • getDistance

      public Integer getDistance()
      A number representing the distance between source and target DataSources. Equal to the number of separators in the path.
      Returns:
      Current distance value. Default value is null
    • setPath

      public RelationPath setPath(String path)
      A slash-separated path consisting of each DataSource ID in the path between source and target
      Parameters:
      path - New path value. Default value is null
      Returns:
      RelationPath instance, for chaining setter calls
    • getPath

      public String getPath()
      A slash-separated path consisting of each DataSource ID in the path between source and target
      Returns:
      Current path value. Default value is null