public final class ResourceTypeDefinition extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResourceTypeDefinition.Builder
Builder for creating a ResourceTypeDefinition.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceTypeDefinition |
fromJaxRsResource(Class<?> resource)
Create a new instance representing the resource type implemented by a
root JAX-RS resource class.
|
com.unboundid.scim2.common.types.AttributeDefinition |
getAttributeDefinition(com.unboundid.scim2.common.Path path)
Retrieve the attribute definition for the attribute in the path.
|
com.unboundid.scim2.common.types.SchemaResource |
getCoreSchema()
Gets the resource type's schema.
|
String |
getDescription()
Gets the description of the resource type.
|
String |
getEndpoint()
Gets the resource type's endpoint.
|
String |
getName()
Gets the resource type name.
|
Map<com.unboundid.scim2.common.types.SchemaResource,Boolean> |
getSchemaExtensions()
Gets the resource type's schema extensions.
|
boolean |
isDiscoverable()
Whether this resource type and its associated schemas should be
discoverable using the SCIM 2 standard /resourceTypes and /schemas
endpoints.
|
com.unboundid.scim2.common.Path |
normalizePath(com.unboundid.scim2.common.Path path)
Normalize a path by removing the schema URN for core attributes.
|
com.unboundid.scim2.common.types.ResourceTypeResource |
toScimResource()
Retrieve the ResourceType SCIM resource that represents this definition.
|
public String getDescription()
public String getEndpoint()
public com.unboundid.scim2.common.types.SchemaResource getCoreSchema()
public Map<com.unboundid.scim2.common.types.SchemaResource,Boolean> getSchemaExtensions()
public boolean isDiscoverable()
true if discoverable or false otherwise.public com.unboundid.scim2.common.types.AttributeDefinition getAttributeDefinition(com.unboundid.scim2.common.Path path)
path - The attribute path.null if there is no attribute
defined for the path.public com.unboundid.scim2.common.Path normalizePath(com.unboundid.scim2.common.Path path)
path - The path to normalize.public com.unboundid.scim2.common.types.ResourceTypeResource toScimResource()
public static ResourceTypeDefinition fromJaxRsResource(Class<?> resource)
resource - a root resource whose
ResourceType
and Path values will be used to
initialize the ResourceTypeDefinition.null if resource is not
annotated with ResourceType
and Path.Copyright © 2015–2016 UnboundID Corp.. All rights reserved.