Class ResourceType
- 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.AbstractSchemasHolder
-
- de.captaingoldfish.scim.sdk.common.resources.ResourceNode
-
- de.captaingoldfish.scim.sdk.client.resources.ResourceType
-
- 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 ResourceType extends ResourceNode
Specifies the schema that describes a SCIM resource type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceType.FieldNamescontains the attribute names of the resource representationstatic classResourceType.ResourceTypeBuilderstatic classResourceType.SchemaExtensionsA list of URIs of the resource type's schema extensions.
-
Constructor Summary
Constructors Constructor Description ResourceType()ResourceType(String id, Meta meta, String name, String description, String endpoint, String schema, List<ResourceType.SchemaExtensions> schemaExtensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceType.ResourceTypeBuilderbuilder()Optional<String>getDescription()The resource type's human-readable description.StringgetEndpoint()The resource type's HTTP-addressable endpoint relative to the Base URL, e.g., '/Users'.StringgetName()The resource type name.StringgetSchema()The resource type's primary/base schema URI.List<ResourceType.SchemaExtensions>getSchemaExtensions()A list of URIs of the resource type's schema extensions.voidsetDescription(String description)The resource type's human-readable description.voidsetEndpoint(String endpoint)The resource type's HTTP-addressable endpoint relative to the Base URL, e.g., '/Users'.voidsetName(String name)The resource type name.voidsetSchema(String schema)The resource type's primary/base schema URI.voidsetSchemaExtensions(List<ResourceType.SchemaExtensions> schemaExtensions)A list of URIs of the resource type's schema extensions.-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.ResourceNode
getExternalId, getId, getMeta, getSortingAttribute, setExternalId, setId, setMeta
-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.AbstractSchemasHolder
addSchema, getSchemas, removeSchema, setSchemas, setSchemas
-
Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, getArrayAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSchemaAttribute, 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, putIfAbsent, 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, canConvertToExactIntegral, 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, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
-
-
-
Method Detail
-
getName
public String getName()
The resource type name. When applicable, service providers MUST specify the name, e.g., 'User'.
-
setName
public void setName(String name)
The resource type name. When applicable, service providers MUST specify the name, e.g., 'User'.
-
getDescription
public Optional<String> getDescription()
The resource type's human-readable description. When applicable, service providers MUST specify the description.
-
setDescription
public void setDescription(String description)
The resource type's human-readable description. When applicable, service providers MUST specify the description.
-
getEndpoint
public String getEndpoint()
The resource type's HTTP-addressable endpoint relative to the Base URL, e.g., '/Users'.
-
setEndpoint
public void setEndpoint(String endpoint)
The resource type's HTTP-addressable endpoint relative to the Base URL, e.g., '/Users'.
-
getSchema
public String getSchema()
The resource type's primary/base schema URI.
-
setSchema
public void setSchema(String schema)
The resource type's primary/base schema URI.
-
getSchemaExtensions
public List<ResourceType.SchemaExtensions> getSchemaExtensions()
A list of URIs of the resource type's schema extensions.
-
setSchemaExtensions
public void setSchemaExtensions(List<ResourceType.SchemaExtensions> schemaExtensions)
A list of URIs of the resource type's schema extensions.
-
builder
public static ResourceType.ResourceTypeBuilder builder()
-
-