Class BulkResponseGetOperation
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.response.BulkResponseGetOperation
- 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>
this class will represent a bulk-get response node that contains the data of a specific resource together
with its children. This data structure can be transitively nested and thus become very large if not used
with care
- Since:
- 29.08.2022
- Author:
- Pascal Knueppel
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classoverride lombok builder with public constructorNested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonNode
com.fasterxml.jackson.databind.JsonNode.OverwriteModeNested classes/interfaces inherited from interface com.fasterxml.jackson.databind.JsonSerializable
com.fasterxml.jackson.databind.JsonSerializable.Base -
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_childrenFields inherited from class com.fasterxml.jackson.databind.node.ContainerNode
_nodeFactory -
Constructor Summary
ConstructorsConstructorDescriptionBulkResponseGetOperation(String nodePath, String resourceId, Integer status, String resourceType, ScimResponse resource, List<BulkResponseGetOperation> children) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()the children of this resource if any are presentif the http status code is unequal to 200 this method can be called to get the error responsethe node path of this resource that references the position of this resource within the parent.<T extends ResourceNode>
TgetResource(Class<T> type) the id of the resource that is referencedthe name of the resource type that is referenced with this resource.the http response status for this resource.voidsetChildren(List<BulkResponseGetOperation> children) the children of this resource if any are presentvoidsetNodePath(String nodePath) the node path of this resource that references the position of this resource within the parent.<T extends ScimResponse>
voidsetResource(T resource) the resource that represents this nodevoidsetResourceId(String resourceId) the id of the resource that is referencedvoidsetResourceType(String resourceType) the name of the resource type that is referenced with this resource.voidthe http response status for this resource.Methods inherited from class de.captaingoldfish.scim.sdk.common.resources.base.ScimObjectNode
addAttribute, equals, getArrayAttribute, getBinaryAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSchemaAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toStringMethods inherited from class com.fasterxml.jackson.databind.node.ObjectNode
_at, _childrenEqual, _contentsToSerialize, _put, _withArray, _withArrayAddTailProperty, _withObject, _withObjectAddTailProperty, asToken, deepCopy, elements, equals, fieldNames, fields, findParent, findParents, findValue, findValues, findValuesAsText, forEachEntry, get, get, getNodeType, hashCode, isEmpty, isObject, optional, path, path, properties, propertyStream, 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, removeIf, replace, required, retain, retain, serialize, serializeFilteredContents, serializeWithType, set, setAll, setAll, size, values, valueStream, with, withArray, withArrayProperty, withObject, withObjectProperty, without, withoutMethods 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, removeNulls, textNodeMethods inherited from class com.fasterxml.jackson.databind.node.BaseJsonNode
_bigIntFromBigDec, _jsonPointerIfValid, _reportWrongNodeOperation, _reportWrongNodeType, _withXxxMayReplace, _withXxxVerifyReplace, findPath, numberType, required, traverse, traverse, withArray, withObjectMethods inherited from class com.fasterxml.jackson.databind.JsonNode
_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asOptional, 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, optional, require, requiredAt, requiredAt, requireNonNull, shortValue, textValue, withArray, withArray, withObject, withObjectMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface de.captaingoldfish.scim.sdk.common.resources.base.ScimNode
getAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequired
-
Constructor Details
-
BulkResponseGetOperation
public BulkResponseGetOperation(String nodePath, String resourceId, Integer status, String resourceType, ScimResponse resource, List<BulkResponseGetOperation> children) -
BulkResponseGetOperation
public BulkResponseGetOperation()
-
-
Method Details
-
getResourceId
the id of the resource that is referenced -
setResourceId
the id of the resource that is referenced -
getNodePath
the node path of this resource that references the position of this resource within the parent. If null this resource is the one requested within the bulk-request -
setNodePath
the node path of this resource that references the position of this resource within the parent. If null this resource is the one requested within the bulk-request -
getStatus
the http response status for this resource. It might happen that a transitive resource cannot be retrieved because of missing access rights and in such a case the response object for this resource would contain a 403 status code -
setStatus
the http response status for this resource. It might happen that a transitive resource cannot be retrieved because of missing access rights and in such a case the response object for this resource would contain a 403 status code -
getResourceType
the name of the resource type that is referenced with this resource. In case that a group is retrieved and this node represents one of its members it might be either a User or a Group and this field will help determining which type of resource is represented -
setResourceType
the name of the resource type that is referenced with this resource. In case that a group is retrieved and this node represents one of its members it might be either a User or a Group and this field will help determining which type of resource is represented -
getResource
- Returns:
- the resource that represents this node
-
getErrorResponse
if the http status code is unequal to 200 this method can be called to get the error response -
setResource
the resource that represents this node -
getChildren
the children of this resource if any are present -
setChildren
the children of this resource if any are present -
builder
-