Package openGql.grammar
Class NodeLabelSetWithProperties
- java.lang.Object
-
- openGql.grammar.NodeLabelSetWithProperties
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeLabelSetWithProperties>
public class NodeLabelSetWithProperties extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodeLabelSetWithProperties>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameLABEL_SETName of theopenGql.grammar.NodeLabelSetWithProperties.labelSetfield.LabelSetPhraselabelSetstatic NamePROPERTY_TYPESName of theopenGql.grammar.NodeLabelSetWithProperties.propertyTypesfield.Optional<java.util.List<PropertyType>>propertyTypesstatic NameTYPE_Name of theopenGql.grammar.NodeLabelSetWithPropertiestype.
-
Constructor Summary
Constructors Constructor Description NodeLabelSetWithProperties(LabelSetPhrase labelSet, Optional<java.util.List<PropertyType>> propertyTypes)Constructs an immutableNodeLabelSetWithProperties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodeLabelSetWithProperties other)booleanequals(java.lang.Object other)inthashCode()NodeLabelSetWithPropertieswithLabelSet(LabelSetPhrase labelSet)Returns a copy of thisNodeLabelSetWithPropertieswithlabelSetreplaced.NodeLabelSetWithPropertieswithPropertyTypes(Optional<java.util.List<PropertyType>> propertyTypes)Returns a copy of thisNodeLabelSetWithPropertieswithpropertyTypesreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NodeLabelSetWithPropertiestype.
-
LABEL_SET
public static final Name LABEL_SET
Name of theopenGql.grammar.NodeLabelSetWithProperties.labelSetfield.
-
PROPERTY_TYPES
public static final Name PROPERTY_TYPES
Name of theopenGql.grammar.NodeLabelSetWithProperties.propertyTypesfield.
-
labelSet
public final LabelSetPhrase labelSet
-
propertyTypes
public final Optional<java.util.List<PropertyType>> propertyTypes
-
-
Constructor Detail
-
NodeLabelSetWithProperties
public NodeLabelSetWithProperties(LabelSetPhrase labelSet, Optional<java.util.List<PropertyType>> propertyTypes)
Constructs an immutableNodeLabelSetWithProperties.
-
-
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(NodeLabelSetWithProperties other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeLabelSetWithProperties>
-
withLabelSet
public NodeLabelSetWithProperties withLabelSet(LabelSetPhrase labelSet)
Returns a copy of thisNodeLabelSetWithPropertieswithlabelSetreplaced.
-
withPropertyTypes
public NodeLabelSetWithProperties withPropertyTypes(Optional<java.util.List<PropertyType>> propertyTypes)
Returns a copy of thisNodeLabelSetWithPropertieswithpropertyTypesreplaced.
-
-