Package hydra.shex.syntax
Class NodeConstraintSequence2
- java.lang.Object
-
- hydra.shex.syntax.NodeConstraintSequence2
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeConstraintSequence2>
public class NodeConstraintSequence2 extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodeConstraintSequence2>
A synthetic Hydra type representing a secondary sequence within the ShEx NodeConstraint production- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeConstraintSequence2.BuilderA fluent builder forNodeConstraintSequence2.
-
Field Summary
Fields Modifier and Type Field Description static NameLIST_OF_STRING_FACETName of thehydra.shex.syntax.NodeConstraintSequence2.listOfStringFacetfield.java.util.List<StringFacet>listOfStringFacetstatic NameNON_LITERAL_KINDName of thehydra.shex.syntax.NodeConstraintSequence2.NonLiteralKindfield.NonLiteralKindNonLiteralKindstatic NameTYPE_Name of thehydra.shex.syntax.NodeConstraintSequence2type.
-
Constructor Summary
Constructors Constructor Description NodeConstraintSequence2(NonLiteralKind NonLiteralKind, java.util.List<StringFacet> listOfStringFacet)Constructs an immutableNodeConstraintSequence2.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeConstraintSequence2.Builderbuilder()Creates a new fluent builder forNodeConstraintSequence2.intcompareTo(NodeConstraintSequence2 other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()NodeConstraintSequence2withListOfStringFacet(java.util.List<StringFacet> listOfStringFacet)Returns a copy of thisNodeConstraintSequence2withlistOfStringFacetreplaced.NodeConstraintSequence2withNonLiteralKind(NonLiteralKind NonLiteralKind)Returns a copy of thisNodeConstraintSequence2withNonLiteralKindreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.shex.syntax.NodeConstraintSequence2type.
-
NON_LITERAL_KIND
public static final Name NON_LITERAL_KIND
Name of thehydra.shex.syntax.NodeConstraintSequence2.NonLiteralKindfield.
-
LIST_OF_STRING_FACET
public static final Name LIST_OF_STRING_FACET
Name of thehydra.shex.syntax.NodeConstraintSequence2.listOfStringFacetfield.
-
NonLiteralKind
public final NonLiteralKind NonLiteralKind
-
listOfStringFacet
public final java.util.List<StringFacet> listOfStringFacet
-
-
Constructor Detail
-
NodeConstraintSequence2
public NodeConstraintSequence2(NonLiteralKind NonLiteralKind, java.util.List<StringFacet> listOfStringFacet)
Constructs an immutableNodeConstraintSequence2.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(NodeConstraintSequence2 other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeConstraintSequence2>
-
withNonLiteralKind
public NodeConstraintSequence2 withNonLiteralKind(NonLiteralKind NonLiteralKind)
Returns a copy of thisNodeConstraintSequence2withNonLiteralKindreplaced.
-
withListOfStringFacet
public NodeConstraintSequence2 withListOfStringFacet(java.util.List<StringFacet> listOfStringFacet)
Returns a copy of thisNodeConstraintSequence2withlistOfStringFacetreplaced.
-
builder
public static NodeConstraintSequence2.Builder builder()
Creates a new fluent builder forNodeConstraintSequence2.
-
-