Class JsonIncludeProperties.Value

    • Method Detail

      • getIncluded

        public java.util.Set<java.lang.String> getIncluded()
        Returns:
        Names included, if any, possibly empty; null for "not defined"
      • withOverrides

        public JsonIncludeProperties.Value withOverrides​(JsonIncludeProperties.Value overrides)
        Mutant factory method to override the current value with an another, merging the included fields so that only entries that exist in both original and override set are included, taking into account that "undefined" JsonIncludeProperties.Values do not count ("undefined" meaning that getIncluded() returns null). So: overriding with "undefined" returns original Value as-is; overriding an "undefined" Value returns override Value as-is.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object