Class PathPattern

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PathPattern>

    public class PathPattern
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<PathPattern>
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_

        public static final Name TYPE_
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern type.
      • PATH_NAME

        public static final Name PATH_NAME
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern.pathName field.
      • START_NODE

        public static final Name START_NODE
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern.startNode field.
      • EDGE

        public static final Name EDGE
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern.edge field.
      • END_NODE

        public static final Name END_NODE
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern.endNode field.
      • CONDITION

        public static final Name CONDITION
        Name of the com.gdblab.pathAlgebra.syntax.PathPattern.condition field.
      • pathName

        public final java.lang.String pathName
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(PathPattern other)
        Specified by:
        compareTo in interface java.lang.Comparable<PathPattern>
      • withPathName

        public PathPattern withPathName​(java.lang.String pathName)
        Returns a copy of this PathPattern with pathName replaced.