public static enum SchemaAttributes.Uniqueness extends Enum<SchemaAttributes.Uniqueness> implements BmcEnum
A single keyword value that specifies how the Service Provider enforces uniqueness of attribute values. A server MAY reject an invalid value based on uniqueness by returning an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side to a greater degree than the Service Provider enforces. For example, a client could make a value unique while the server has the uniqueness of \“none\”.
*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - returned: default - type: string - uniqueness: none
Enum Constant and Description |
---|
Global |
None |
Server |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static SchemaAttributes.Uniqueness |
create(String key) |
String |
getValue() |
static SchemaAttributes.Uniqueness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAttributes.Uniqueness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAttributes.Uniqueness None
public static final SchemaAttributes.Uniqueness Server
public static final SchemaAttributes.Uniqueness Global
public static final SchemaAttributes.Uniqueness UnknownEnumValue
public static SchemaAttributes.Uniqueness[] values()
for (SchemaAttributes.Uniqueness c : SchemaAttributes.Uniqueness.values()) System.out.println(c);
public static SchemaAttributes.Uniqueness valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SchemaAttributes.Uniqueness create(String key)
Copyright © 2016–2024. All rights reserved.