public final class SchemaAttribute extends ScimObjectNode
| Modifier | Constructor and Description |
|---|---|
|
SchemaAttribute(Schema schema,
String resourceUri,
SchemaAttribute parent,
com.fasterxml.jackson.databind.JsonNode jsonNode) |
protected |
SchemaAttribute(Schema schema,
String resourceUri,
SchemaAttribute parent,
com.fasterxml.jackson.databind.JsonNode jsonNode,
String namePrefix) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCanonicalValues()
A collection of suggested canonical values that
MAY be used (e.g., "work" and "home").
|
String |
getDescription()
The attribute's human-readable description.
|
String |
getFullResourceName() |
Optional<Double> |
getMaximum()
The value of "maximum" MUST be a number, representing an inclusive
upper limit for a numeric instance.
|
Optional<Integer> |
getMaxItems()
The value of this keyword MUST be a non-negative integer.
|
Optional<Long> |
getMaxLength()
The value of this keyword MUST be a non-negative integer.
|
Optional<Double> |
getMinimum()
The value of "minimum" MUST be a number, representing an inclusive
lower limit for a numeric instance.
|
Optional<Integer> |
getMinItems()
The value of this keyword MUST be a non-negative integer.
|
Optional<Long> |
getMinLength()
The value of this keyword MUST be a non-negative integer.
|
Optional<Double> |
getMultipleOf()
The value of "multipleOf" MUST be a number, strictly greater than 0.
|
Mutability |
getMutability()
A single keyword indicating the circumstances under
which the value of the attribute can be (re)defined:
readOnly The attribute SHALL NOT be modified.
|
String |
getName()
The attribute's name.
|
String |
getNamePrefix() |
Optional<Instant> |
getNotAfter()
a dateTime validation attribute that must not be after the value of this attribute
|
Optional<Instant> |
getNotBefore()
a dateTime validation attribute that must not be before the value of this attribute
|
Optional<Pattern> |
getPattern()
The value of this keyword MUST be a string.
|
List<ReferenceTypes> |
getReferenceTypes()
A multi-valued array of JSON strings that indicate
the SCIM resource types that may be referenced.
|
Returned |
getReturned()
A single keyword that indicates when an attribute and
associated values are returned in response to a GET request or
in response to a PUT, POST, or PATCH request.
|
String |
getScimNodeName() |
List<SchemaAttribute> |
getSubAttributes()
When an attribute is of type "complex",
"subAttributes" defines a set of sub-attributes.
|
Type |
getType()
The attribute's data type.
|
Uniqueness |
getUniqueness()
A single keyword value that specifies how the service
provider enforces uniqueness of attribute values.
|
boolean |
isCaseExact()
A Boolean value that specifies whether or not a string
attribute is case sensitive.
|
boolean |
isMultiValued()
A Boolean value indicating the attribute's plurality.
|
boolean |
isRequired()
A Boolean value that specifies whether or not the
attribute is required.
|
void |
setMaximum(double maximum)
The value of "maximum" MUST be a number, representing an inclusive
upper limit for a numeric instance.
|
void |
setMaxItems(Integer maxItems)
The value of this keyword MUST be a non-negative integer.
|
void |
setMaxLength(Long maxLength)
The value of this keyword MUST be a non-negative integer.
|
void |
setMinimum(double minimum)
The value of "minimum" MUST be a number, representing an inclusive
lower limit for a numeric instance.
|
void |
setMinItems(Integer minItems)
The value of this keyword MUST be a non-negative integer.
|
void |
setMinLength(Long minLength)
The value of this keyword MUST be a non-negative integer.
|
void |
setMultipleOf(double multipleOf)
The value of "multipleOf" MUST be a number, strictly greater than 0.
|
void |
setNotAfter(Instant notAfter)
a dateTime validation attribute that must not be after the value of this attribute
|
void |
setNotAfter(LocalDateTime notAfter)
a dateTime validation attribute that must not be after the value of this attribute
|
void |
setNotAfter(OffsetDateTime notAfter)
a dateTime validation attribute that must not be after the value of this attribute
|
void |
setNotAfter(String notAfter)
a dateTime validation attribute that must not be after the value of this attribute
|
void |
setNotBefore(Instant notBefore)
a dateTime validation attribute that must not be before the value of this attribute
|
void |
setNotBefore(LocalDateTime notBefore)
a dateTime validation attribute that must not be before the value of this attribute
|
void |
setNotBefore(OffsetDateTime notBefore)
a dateTime validation attribute that must not be before the value of this attribute
|
void |
setNotBefore(String notBefore)
a dateTime validation attribute that must not be before the value of this attribute
|
void |
setPattern(String pattern)
The value of this keyword MUST be a string.
|
addAttribute, 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, getSchemaAttribute, getValueTypeforEach, spliteratorprotected SchemaAttribute(Schema schema, String resourceUri, SchemaAttribute parent, com.fasterxml.jackson.databind.JsonNode jsonNode, String namePrefix)
public SchemaAttribute(Schema schema, String resourceUri, SchemaAttribute parent, com.fasterxml.jackson.databind.JsonNode jsonNode)
public String getFullResourceName()
public String getScimNodeName()
public String getNamePrefix()
namePrefixpublic String getName()
public Type getType()
public String getDescription()
public Mutability getMutability()
public Returned getReturned()
public Uniqueness getUniqueness()
public boolean isMultiValued()
ArrayNode or notpublic boolean isRequired()
public boolean isCaseExact()
public List<String> getCanonicalValues()
public List<ReferenceTypes> getReferenceTypes()
ScimNode.getValueType()
method returns the value Type.REFERENCEpublic Optional<Double> getMultipleOf()
public void setMultipleOf(double multipleOf)
public Optional<Double> getMinimum()
public void setMinimum(double minimum)
public Optional<Double> getMaximum()
public void setMaximum(double maximum)
public Optional<Long> getMaxLength()
public void setMaxLength(Long maxLength)
public Optional<Long> getMinLength()
public void setMinLength(Long minLength)
public Optional<Pattern> getPattern()
public void setPattern(String pattern)
public Optional<Integer> getMinItems()
public void setMinItems(Integer minItems)
public Optional<Integer> getMaxItems()
public void setMaxItems(Integer maxItems)
public Optional<Instant> getNotBefore()
public void setNotBefore(String notBefore)
public void setNotBefore(Instant notBefore)
public void setNotBefore(LocalDateTime notBefore)
public void setNotBefore(OffsetDateTime notBefore)
public Optional<Instant> getNotAfter()
public void setNotAfter(String notAfter)
public void setNotAfter(Instant notAfter)
public void setNotAfter(LocalDateTime notAfter)
public void setNotAfter(OffsetDateTime notAfter)
public List<SchemaAttribute> getSubAttributes()
Copyright © 2020. All rights reserved.