Package openGql.grammar
Class CountedShortestGroupSearch
- java.lang.Object
-
- openGql.grammar.CountedShortestGroupSearch
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CountedShortestGroupSearch>
public class CountedShortestGroupSearch extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CountedShortestGroupSearch>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleangroupsstatic NameGROUPSName of theopenGql.grammar.CountedShortestGroupSearch.groupsfield.Optional<PathMode>modestatic NameMODEName of theopenGql.grammar.CountedShortestGroupSearch.modefield.static NameNUMBER_OF_GROUPSName of theopenGql.grammar.CountedShortestGroupSearch.numberOfGroupsfield.Optional<NonNegativeIntegerSpecification>numberOfGroupsstatic NameOR_PATHSName of theopenGql.grammar.CountedShortestGroupSearch.orPathsfield.Optional<PathOrPaths>orPathsstatic NameTYPE_Name of theopenGql.grammar.CountedShortestGroupSearchtype.
-
Constructor Summary
Constructors Constructor Description CountedShortestGroupSearch(Optional<NonNegativeIntegerSpecification> numberOfGroups, Optional<PathMode> mode, Optional<PathOrPaths> orPaths, java.lang.Boolean groups)Constructs an immutableCountedShortestGroupSearch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CountedShortestGroupSearch other)booleanequals(java.lang.Object other)inthashCode()CountedShortestGroupSearchwithGroups(java.lang.Boolean groups)Returns a copy of thisCountedShortestGroupSearchwithgroupsreplaced.CountedShortestGroupSearchwithMode(Optional<PathMode> mode)Returns a copy of thisCountedShortestGroupSearchwithmodereplaced.CountedShortestGroupSearchwithNumberOfGroups(Optional<NonNegativeIntegerSpecification> numberOfGroups)Returns a copy of thisCountedShortestGroupSearchwithnumberOfGroupsreplaced.CountedShortestGroupSearchwithOrPaths(Optional<PathOrPaths> orPaths)Returns a copy of thisCountedShortestGroupSearchwithorPathsreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.CountedShortestGroupSearchtype.
-
NUMBER_OF_GROUPS
public static final Name NUMBER_OF_GROUPS
Name of theopenGql.grammar.CountedShortestGroupSearch.numberOfGroupsfield.
-
MODE
public static final Name MODE
Name of theopenGql.grammar.CountedShortestGroupSearch.modefield.
-
OR_PATHS
public static final Name OR_PATHS
Name of theopenGql.grammar.CountedShortestGroupSearch.orPathsfield.
-
GROUPS
public static final Name GROUPS
Name of theopenGql.grammar.CountedShortestGroupSearch.groupsfield.
-
numberOfGroups
public final Optional<NonNegativeIntegerSpecification> numberOfGroups
-
orPaths
public final Optional<PathOrPaths> orPaths
-
groups
public final java.lang.Boolean groups
-
-
Constructor Detail
-
CountedShortestGroupSearch
public CountedShortestGroupSearch(Optional<NonNegativeIntegerSpecification> numberOfGroups, Optional<PathMode> mode, Optional<PathOrPaths> orPaths, java.lang.Boolean groups)
Constructs an immutableCountedShortestGroupSearch.
-
-
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(CountedShortestGroupSearch other)
- Specified by:
compareToin interfacejava.lang.Comparable<CountedShortestGroupSearch>
-
withNumberOfGroups
public CountedShortestGroupSearch withNumberOfGroups(Optional<NonNegativeIntegerSpecification> numberOfGroups)
Returns a copy of thisCountedShortestGroupSearchwithnumberOfGroupsreplaced.
-
withMode
public CountedShortestGroupSearch withMode(Optional<PathMode> mode)
Returns a copy of thisCountedShortestGroupSearchwithmodereplaced.
-
withOrPaths
public CountedShortestGroupSearch withOrPaths(Optional<PathOrPaths> orPaths)
Returns a copy of thisCountedShortestGroupSearchwithorPathsreplaced.
-
withGroups
public CountedShortestGroupSearch withGroups(java.lang.Boolean groups)
Returns a copy of thisCountedShortestGroupSearchwithgroupsreplaced.
-
-