Package hydra.shacl.model
Class CommonConstraint.NodeKind
- java.lang.Object
-
- hydra.shacl.model.CommonConstraint
-
- hydra.shacl.model.CommonConstraint.NodeKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CommonConstraint>
- Enclosing class:
- CommonConstraint
public static final class CommonConstraint.NodeKind extends CommonConstraint implements java.io.Serializable
See https://www.w3.org/TR/shacl/#NodeKindConstraintComponent- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.shacl.model.CommonConstraint
CommonConstraint.And, CommonConstraint.Class_, CommonConstraint.Closed, CommonConstraint.Datatype, CommonConstraint.Disjoint, CommonConstraint.Equals, CommonConstraint.HasValue, CommonConstraint.In, CommonConstraint.LanguageIn, CommonConstraint.MaxExclusive, CommonConstraint.MaxInclusive, CommonConstraint.MaxLength, CommonConstraint.MinExclusive, CommonConstraint.MinInclusive, CommonConstraint.MinLength, CommonConstraint.Node, CommonConstraint.NodeKind, CommonConstraint.Not, CommonConstraint.Or, CommonConstraint.PartialVisitor<R>, CommonConstraint.Pattern, CommonConstraint.Property, CommonConstraint.Visitor<R>, CommonConstraint.Xone
-
-
Field Summary
Fields Modifier and Type Field Description NodeKindvalue-
Fields inherited from class hydra.shacl.model.CommonConstraint
AND, CLASS, CLOSED, DATATYPE, DISJOINT, EQUALS, HAS_VALUE, IN, LANGUAGE_IN, MAX_EXCLUSIVE, MAX_INCLUSIVE, MAX_LENGTH, MIN_EXCLUSIVE, MIN_INCLUSIVE, MIN_LENGTH, NODE, NODE_KIND, NOT, OR, PATTERN, PROPERTY, TYPE_, XONE
-
-
Constructor Summary
Constructors Constructor Description NodeKind(NodeKind value)Constructs an immutableCommonConstraint.NodeKind.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(CommonConstraint.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(CommonConstraint other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
value
public final NodeKind value
-
-
Constructor Detail
-
NodeKind
public NodeKind(NodeKind value)
Constructs an immutableCommonConstraint.NodeKind.
-
-
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(CommonConstraint other)
- Specified by:
compareToin interfacejava.lang.Comparable<CommonConstraint>
-
accept
public <R> R accept(CommonConstraint.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classCommonConstraint
-
-