public class Schema extends ResourceNode
| Constructor and Description |
|---|
Schema(com.fasterxml.jackson.databind.JsonNode jsonNode) |
Schema(com.fasterxml.jackson.databind.JsonNode jsonNode,
String namePrefix) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(com.fasterxml.jackson.databind.JsonNode schemaAttribute)
adds a new attribute definition to this schema
|
protected void |
addSchemaAttribute(SchemaAttribute schemaAttribute)
allows the child
SchemaAttributes to add themselves to this schema into the
attributeRegister |
List<SchemaAttribute> |
getAttributes()
gets the schema attributes of this schema
|
Optional<String> |
getDescription()
The schema's human-readable description.
|
Optional<String> |
getName()
The schema's human-readable name.
|
String |
getNonNullId()
used explicitly for schema validation for easier code reading
|
SchemaAttribute |
getSchemaAttribute(String scimNodeName)
gets a
SchemaAttribute definition by its scimNodeName e.g. |
void |
removeAttribute(SchemaAttribute schemaAttribute)
removes an attribute definition from this schema
|
getExternalId, getId, getMeta, getSortingAttribute, setExternalId, setId, setMetaaddSchema, getSchemas, removeSchema, setSchemas, setSchemasaddAttribute, getArrayAttribute, getBooleanAttribute, getDateTimeAttribute, getDoubleAttribute, getIntegerAttribute, getLongAttribute, getObjectAttribute, getSimpleArrayAttribute, getSimpleArrayAttribute, getSimpleArrayAttributeSet, getSimpleArrayAttributeSet, getStringAttribute, getStringAttribute, isEmpty, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeList, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setDateTimeAttribute, setStringAttributeList, setStringAttributeList, toPrettyString, toString_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, putNull, putObject, putPOJO, putRawValue, remove, remove, removeAll, replace, required, retain, retain, serialize, serializeWithType, set, setAll, setAll, size, with, withArray, without, withoutarrayNode, arrayNode, asText, binaryNode, binaryNode, booleanNode, missingNode, nullNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, numberNode, objectNode, pojoNode, rawValueNode, textNodefindPath, numberType, required, traverse, traverse_reportRequiredViolation, _this, asBoolean, asBoolean, asDouble, asDouble, asInt, asInt, asLong, asLong, asText, at, at, bigIntegerValue, binaryValue, booleanValue, 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, textValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeDescription, getAttributeName, getCanonicalValues, getMutability, getReferenceTypes, getReturned, getSchemaAttribute, getScimNodeName, getUniqueness, getValueType, isCaseExact, isMultiValued, isRequiredforEach, spliteratorpublic Schema(com.fasterxml.jackson.databind.JsonNode jsonNode,
String namePrefix)
public Schema(com.fasterxml.jackson.databind.JsonNode jsonNode)
public String getNonNullId()
public Optional<String> getName()
public Optional<String> getDescription()
public List<SchemaAttribute> getAttributes()
public void addAttribute(com.fasterxml.jackson.databind.JsonNode schemaAttribute)
public void removeAttribute(SchemaAttribute schemaAttribute)
public SchemaAttribute getSchemaAttribute(String scimNodeName)
SchemaAttribute definition by its scimNodeName e.g. "userName" or "name.givenName". scimNodeName values are evaluated
as case insensitive.
Attribute names and attribute operators used in filters are case
insensitive. For example, the following two expressions will
evaluate to the same logical value:
filter=userName Eq "john"
filter=Username eq "john"
protected void addSchemaAttribute(SchemaAttribute schemaAttribute)
SchemaAttributes to add themselves to this schema into the
attributeRegisterCopyright © 2020. All rights reserved.