Class ScimResource
java.lang.Object
com.revetsec.scim.ScimResource
Immutable schema-normalized application data. Intentional getters expose provisioning data;
diagnostics never expose it. Trusted construction is not request provenance or authorization.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTrusted document construction; invalid data is a programming error.static final classTrusted copying; null restores the source document. -
Method Summary
Modifier and TypeMethodDescriptioncopy()Starts trusted data copying.find(@NonNull ScimAttributePath path) Finds a registered attribute or subattribute.Returns the creation instant; fractional seconds beyond nanosecond precision are truncated.Intentionally exposes the immutable normalized document, including transient write-only data.getExtension(@NonNull String schemaId) Finds a registered extension without fetching its identifier.Returns the client identifier.getId()Returns the server-assigned identifier.Returns the last modification instant; fractional seconds beyond nanosecond precision are truncated.Returns the server-assigned location without fetching it.Returns the resource type.Returns the version entity tag.toString()Returns a fixed redacted description.static @NonNull ScimResource.BuilderwithResourceType(@NonNull ScimResourceType resourceType) Starts trusted data construction.
-
Method Details
-
withResourceType
@CheckReturnValue public static @NonNull ScimResource.Builder withResourceType(@NonNull ScimResourceType resourceType) Starts trusted data construction.- Parameters:
resourceType- the schema registration- Returns:
- a builder
- Since:
- 1.0.0
-
copy
Starts trusted data copying.- Returns:
- a copier
- Since:
- 1.0.0
-
getResourceType
Returns the resource type.- Returns:
- the resource type
- Since:
- 1.0.0
-
getDocument
Intentionally exposes the immutable normalized document, including transient write-only data.- Returns:
- the document
- Since:
- 1.0.0
-
find
-
getExtension
Finds a registered extension without fetching its identifier.- Parameters:
schemaId- the schema identifier- Returns:
- the extension
- Since:
- 1.0.0
-
getId
-
getExternalId
Returns the client identifier.- Returns:
- the identifier
- Since:
- 1.0.0
-
getVersion
Returns the version entity tag.- Returns:
- the version
- Since:
- 1.0.0
-
getLocation
Returns the server-assigned location without fetching it.- Returns:
- the location
- Since:
- 1.0.0
-
getCreated
Returns the creation instant; fractional seconds beyond nanosecond precision are truncated.- Returns:
- the instant
- Since:
- 1.0.0
-
getLastModified
Returns the last modification instant; fractional seconds beyond nanosecond precision are truncated.- Returns:
- the instant
- Since:
- 1.0.0
-
toString
-