Package hydra.shacl.model
Class CommonConstraint.LanguageIn
- java.lang.Object
-
- hydra.shacl.model.CommonConstraint
-
- hydra.shacl.model.CommonConstraint.LanguageIn
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CommonConstraint>
- Enclosing class:
- CommonConstraint
public static final class CommonConstraint.LanguageIn extends CommonConstraint implements java.io.Serializable
See https://www.w3.org/TR/shacl/#LanguageInConstraintComponent- 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 java.util.Set<LanguageTag>value-
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 LanguageIn(java.util.Set<LanguageTag> value)Constructs an immutableCommonConstraint.LanguageIn.
-
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 java.util.Set<LanguageTag> value
-
-
Constructor Detail
-
LanguageIn
public LanguageIn(java.util.Set<LanguageTag> value)
Constructs an immutableCommonConstraint.LanguageIn.
-
-
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
-
-