Class Meta
- 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Meta.MetaBuilder
a builder class that is not generated with lombok because of the multiple setter-methods for created and last modified
-
Constructor Summary
Constructors Constructor Description Meta()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Meta.MetaBuilder
builder()
Optional<Instant>
getCreated()
The "DateTime" that the resource was added to the service provider.Optional<Instant>
getLastModified()
The most recent DateTime that the details of this resource were updated at the service provider.Optional<String>
getLocation()
The URI of the resource being returned.Optional<String>
getResourceType()
The name of the resource type of the resource.Optional<ETag>
getVersion()
The version of the resource being returned.void
setCreated(String dateTime)
The "DateTime" that the resource was added to the service provider.void
setCreated(Instant dateTime)
The "DateTime" that the resource was added to the service provider.void
setCreated(LocalDateTime dateTime)
The "DateTime" that the resource was added to the service provider.void
setCreated(OffsetDateTime dateTime)
The "DateTime" that the resource was added to the service provider.void
setLastModified(String dateTime)
The most recent DateTime that the details of this resource were updated at the service provider.void
setLastModified(Instant dateTime)
The most recent DateTime that the details of this resource were updated at the service provider.void
setLastModified(LocalDateTime dateTime)
The most recent DateTime that the details of this resource were updated at the service provider.void
setLastModified(OffsetDateTime dateTime)
The most recent DateTime that the details of this resource were updated at the service provider.void
setLocation(String location)
The URI of the resource being returned.void
setResourceType(String resourceType)
The name of the resource type of the resource.void
setVersion(ETag version)
The version of the resource being returned.-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, getArrayAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toString
-
Methods inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_at, _childrenEqual, _put, asToken, deepCopy, elements, equals, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, get, get, getNodeType, hashCode, isEmpty, isObject, path, path, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, putArray, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeWithType, set, setAll, setAll, size, with, withArray, without, without
-
Methods inherited from class com.fasterxml.jackson.databind.node.ContainerNode
arrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNode
-
Methods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
findPath, numberType, required, traverse, traverse
-
Methods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, canConvertToInt, canConvertToLong, decimalValue, doubleValue, findParents, findValues, findValuesAsText, floatValue, has, has, hasNonNull, hasNonNull, intValue, isArray, isBigDecimal, isBigInteger, isBinary, isBoolean, isContainerNode, isDouble, isFloat, isFloatingPointNumber, isInt, isIntegralNumber, isLong, isMissingNode, isNull, isNumber, isPojo, isShort, isTextual, isValueNode, iterator, longValue, numberValue, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface de.captaingoldfish.scim.sdk.common.resources.base.ScimNode
getAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getSchemaAttribute, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
-
-
-
Method Detail
-
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.
-
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".
-
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).
-
-