Package openGql.grammar
Class AllPathSearch
- java.lang.Object
-
- openGql.grammar.AllPathSearch
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AllPathSearch>
public class AllPathSearch extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<AllPathSearch>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<PathMode>modestatic NameMODEName of theopenGql.grammar.AllPathSearch.modefield.static NameOR_PATHSName of theopenGql.grammar.AllPathSearch.orPathsfield.Optional<PathOrPaths>orPathsstatic NameTYPE_Name of theopenGql.grammar.AllPathSearchtype.
-
Constructor Summary
Constructors Constructor Description AllPathSearch(Optional<PathMode> mode, Optional<PathOrPaths> orPaths)Constructs an immutableAllPathSearch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AllPathSearch other)booleanequals(java.lang.Object other)inthashCode()AllPathSearchwithMode(Optional<PathMode> mode)Returns a copy of thisAllPathSearchwithmodereplaced.AllPathSearchwithOrPaths(Optional<PathOrPaths> orPaths)Returns a copy of thisAllPathSearchwithorPathsreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.AllPathSearchtype.
-
MODE
public static final Name MODE
Name of theopenGql.grammar.AllPathSearch.modefield.
-
OR_PATHS
public static final Name OR_PATHS
Name of theopenGql.grammar.AllPathSearch.orPathsfield.
-
orPaths
public final Optional<PathOrPaths> orPaths
-
-
Constructor Detail
-
AllPathSearch
public AllPathSearch(Optional<PathMode> mode, Optional<PathOrPaths> orPaths)
Constructs an immutableAllPathSearch.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(AllPathSearch other)
- Specified by:
compareToin interfacejava.lang.Comparable<AllPathSearch>
-
withMode
public AllPathSearch withMode(Optional<PathMode> mode)
Returns a copy of thisAllPathSearchwithmodereplaced.
-
withOrPaths
public AllPathSearch withOrPaths(Optional<PathOrPaths> orPaths)
Returns a copy of thisAllPathSearchwithorPathsreplaced.
-
-