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