java.lang.Object
com.fasterxml.jackson.databind.JsonSerializable.Base
com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.node.BaseJsonNode
com.fasterxml.jackson.databind.node.ContainerNode<com.fasterxml.jackson.databind.node.ObjectNode>
com.fasterxml.jackson.databind.node.ObjectNode
de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
de.captaingoldfish.scim.sdk.common.resources.complex.Meta
All Implemented Interfaces:
com.fasterxml.jackson.core.TreeNode, com.fasterxml.jackson.databind.JsonSerializable, com.fasterxml.jackson.databind.node.JsonNodeCreator, ScimNode, Serializable, Iterable<com.fasterxml.jackson.databind.JsonNode>

public class Meta extends ScimObjectNode
author Pascal Knueppel
created at: 11.10.2019 - 10:19

A complex attribute containing resource metadata. All "meta" sub-attributes are assigned by the service provider (have a "mutability" of "readOnly"), and all of these sub-attributes have a "returned" characteristic of "default". This attribute SHALL be ignored when provided by clients. "meta" contains the following sub-attributes:
See Also:
  • Constructor Details

    • Meta

      public Meta()
  • Method Details

    • builder

      public static Meta.MetaBuilder builder()
    • getResourceType

      public Optional<String> getResourceType()
      The name of the resource type of the resource. This attribute has a mutability of "readOnly" and "caseExact" as "true".
    • setResourceType

      public void setResourceType(String resourceType)
      The name of the resource type of the resource. This attribute has a mutability of "readOnly" and "caseExact" as "true".
    • getCreated

      public Optional<Instant> getCreated()
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
    • setCreated

      public void setCreated(String dateTime)
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
    • setCreated

      public void setCreated(OffsetDateTime dateTime)
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
    • setCreated

      public void setCreated(LocalDateTime dateTime)
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
    • setCreated

      public void setCreated(Instant dateTime)
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
    • setCreated

      public void setCreated(Instant dateTime, int fractionalDigits)
      The "DateTime" that the resource was added to the service provider. This attribute MUST be a DateTime.
      Parameters:
      fractionalDigits - the number of nano digits after which the line is cut off e.g. if set to 3 the result will look like '1970-01-01T00:00:00.000Z' and if set to 4 the result looks like '1970-01-01T00:00:00.0000Z'
    • getLastModified

      public Optional<Instant> getLastModified()
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
    • setLastModified

      public void setLastModified(String dateTime)
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
    • setLastModified

      public void setLastModified(Instant dateTime)
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
    • setLastModified

      public void setLastModified(OffsetDateTime dateTime)
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
    • setLastModified

      public void setLastModified(LocalDateTime dateTime)
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
    • setLastModified

      public void setLastModified(Instant dateTime, int fractionalDigits)
      The most recent DateTime that the details of this resource were updated at the service provider. If this resource has never been modified since its initial creation, the value MUST be the same as the value of "created".
      Parameters:
      fractionalDigits - the number of nano digits after which the line is cut off e.g. if set to 3 the result will look like '1970-01-01T00:00:00.000Z' and if set to 4 the result looks like '1970-01-01T00:00:00.0000Z'
    • getLocation

      public Optional<String> getLocation()
      The URI of the resource being returned. This value MUST be the same as the "Content-Location" HTTP response header (see Section 3.1.4.2 of [RFC7231]).
    • setLocation

      public void setLocation(String location)
      The URI of the resource being returned. This value MUST be the same as the "Content-Location" HTTP response header (see Section 3.1.4.2 of [RFC7231]).
    • getVersion

      public Optional<ETag> getVersion()
      The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive).
    • setVersion

      public void setVersion(ETag version)
      The version of the resource being returned. This value must be the same as the entity-tag (ETag) HTTP response header (see Sections 2.1 and 2.3 of [RFC7232]). This attribute has "caseExact" as "true". Service provider support for this attribute is optional and subject to the service provider's support for versioning (see Section 3.14 of [RFC7644]). If a service provider provides "version" (entity-tag) for a representation and the generation of that entity-tag does not satisfy all of the characteristics of a strong validator (see Section 2.1 of [RFC7232]), then the origin server MUST mark the "version" (entity-tag) as weak by prefixing its opaque value with "W/" (case sensitive).