Package openGql.grammar
Class NodeKeyLabelSetWithContent
- java.lang.Object
-
- openGql.grammar.NodeKeyLabelSetWithContent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeKeyLabelSetWithContent>
public class NodeKeyLabelSetWithContent extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodeKeyLabelSetWithContent>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIMPLIED_CONTENTName of theopenGql.grammar.NodeKeyLabelSetWithContent.impliedContentfield.Optional<NodeTypeImpliedContent>impliedContentstatic NameKEY_LABEL_SETName of theopenGql.grammar.NodeKeyLabelSetWithContent.keyLabelSetfield.Optional<LabelSetPhrase>keyLabelSetstatic NameTYPE_Name of theopenGql.grammar.NodeKeyLabelSetWithContenttype.
-
Constructor Summary
Constructors Constructor Description NodeKeyLabelSetWithContent(Optional<LabelSetPhrase> keyLabelSet, Optional<NodeTypeImpliedContent> impliedContent)Constructs an immutableNodeKeyLabelSetWithContent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodeKeyLabelSetWithContent other)booleanequals(java.lang.Object other)inthashCode()NodeKeyLabelSetWithContentwithImpliedContent(Optional<NodeTypeImpliedContent> impliedContent)Returns a copy of thisNodeKeyLabelSetWithContentwithimpliedContentreplaced.NodeKeyLabelSetWithContentwithKeyLabelSet(Optional<LabelSetPhrase> keyLabelSet)Returns a copy of thisNodeKeyLabelSetWithContentwithkeyLabelSetreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NodeKeyLabelSetWithContenttype.
-
KEY_LABEL_SET
public static final Name KEY_LABEL_SET
Name of theopenGql.grammar.NodeKeyLabelSetWithContent.keyLabelSetfield.
-
IMPLIED_CONTENT
public static final Name IMPLIED_CONTENT
Name of theopenGql.grammar.NodeKeyLabelSetWithContent.impliedContentfield.
-
keyLabelSet
public final Optional<LabelSetPhrase> keyLabelSet
-
impliedContent
public final Optional<NodeTypeImpliedContent> impliedContent
-
-
Constructor Detail
-
NodeKeyLabelSetWithContent
public NodeKeyLabelSetWithContent(Optional<LabelSetPhrase> keyLabelSet, Optional<NodeTypeImpliedContent> impliedContent)
Constructs an immutableNodeKeyLabelSetWithContent.
-
-
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(NodeKeyLabelSetWithContent other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeKeyLabelSetWithContent>
-
withKeyLabelSet
public NodeKeyLabelSetWithContent withKeyLabelSet(Optional<LabelSetPhrase> keyLabelSet)
Returns a copy of thisNodeKeyLabelSetWithContentwithkeyLabelSetreplaced.
-
withImpliedContent
public NodeKeyLabelSetWithContent withImpliedContent(Optional<NodeTypeImpliedContent> impliedContent)
Returns a copy of thisNodeKeyLabelSetWithContentwithimpliedContentreplaced.
-
-