Class ScimResource
java.lang.Object
org.apache.directory.scim.spec.resources.BaseResource<ScimResource>
org.apache.directory.scim.spec.resources.ScimResource
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScimGroup
,ScimResourceWithOptionalId
,ScimUser
This class defines the attributes shared by all SCIM resources. It also
provides BVF annotations to allow validation of the POJO.
- Author:
- smoyer1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExtension
(ScimExtension extension) Add an extension to the ScimResource<T> T
getExtension
(Class<T> extensionClass) Returns the scim extension of a particular classgetExtension
(String urn) <T> T
removeExtension
(Class<T> extensionClass) removeExtension
(String urn) Methods inherited from class org.apache.directory.scim.spec.resources.BaseResource
addSchema, self, setSchemas
-
Constructor Details
-
ScimResource
-
-
Method Details
-
addExtension
Add an extension to the ScimResource- Parameters:
extension
- the scim extension- Throws:
InvalidExtensionException
- if the ScimExtension passed in is improperly configured.
-
getExtension
-
getExtension
Returns the scim extension of a particular class- Parameters:
extensionClass
-- Returns:
- Throws:
InvalidExtensionException
- if the ScimExtension passed in is improperly configured.
-
getBaseUrn
-
getExtensions
-
removeExtension
-
removeExtension
-