Package hydra.ext.org.w3.shacl.model
Class Closed
- java.lang.Object
-
- hydra.ext.org.w3.shacl.model.Closed
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Closed>
public class Closed extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Closed>
See https://www.w3.org/TR/shacl/#ClosedPatterConstraintComponent- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIGNORED_PROPERTIESMaybe<PersistentSet<Property>>ignoredPropertiesstatic NameIS_CLOSEDjava.lang.BooleanisClosedstatic NameTYPE_
-
Constructor Summary
Constructors Constructor Description Closed(java.lang.Boolean isClosed, Maybe<PersistentSet<Property>> ignoredProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Closed other)booleanequals(java.lang.Object other)inthashCode()ClosedwithIgnoredProperties(Maybe<PersistentSet<Property>> ignoredProperties)ClosedwithIsClosed(java.lang.Boolean isClosed)
-
-
-
Constructor Detail
-
Closed
public Closed(java.lang.Boolean isClosed, Maybe<PersistentSet<Property>> ignoredProperties)
-
-
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(Closed other)
- Specified by:
compareToin interfacejava.lang.Comparable<Closed>
-
withIsClosed
public Closed withIsClosed(java.lang.Boolean isClosed)
-
withIgnoredProperties
public Closed withIgnoredProperties(Maybe<PersistentSet<Property>> ignoredProperties)
-
-