Class Closed

  • All Implemented Interfaces:
    java.io.Serializable

    public class Closed
    extends java.lang.Object
    implements java.io.Serializable
    See https://www.w3.org/TR/shacl/#ClosedPatterConstraintComponent
    See Also:
    Serialized Form
    • Field Detail

      • TYPE_NAME

        public static final Name TYPE_NAME
      • FIELD_NAME_IS_CLOSED

        public static final Name FIELD_NAME_IS_CLOSED
      • FIELD_NAME_IGNORED_PROPERTIES

        public static final Name FIELD_NAME_IGNORED_PROPERTIES
      • isClosed

        public final java.lang.Boolean isClosed
      • ignoredProperties

        public final Opt<java.util.Set<Property>> ignoredProperties
    • Constructor Detail

      • Closed

        public Closed​(java.lang.Boolean isClosed,
                      Opt<java.util.Set<Property>> ignoredProperties)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • withIsClosed

        public Closed withIsClosed​(java.lang.Boolean isClosed)
      • withIgnoredProperties

        public Closed withIgnoredProperties​(Opt<java.util.Set<Property>> ignoredProperties)