| Modifier and Type | Field and Description |
|---|---|
static AttributeValueResolver<Entry<byte[]>> |
BINARIES_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from byte[] valued Entry instances. |
static AttributeValueResolver<Entry<Boolean>> |
BOOLEANS_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from Boolean valued Entry instances. |
static AttributeValueResolver<Entry<Date>> |
DATES_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from Date valued Entry instances. |
static AttributeValueResolver<Entry<String>> |
STRINGS_RESOLVER
The
AttributeValueResolver that resolves SCIM attribute values
to/from String valued Entry instances. |
| Constructor and Description |
|---|
Entry(T value,
String type)
Constructs an entry instance with the specified information.
|
Entry(T value,
String type,
boolean primary)
Constructs an entry instance with the specified information.
|
Entry(T value,
String type,
boolean primary,
String display)
Constructs an entry instance with the specified information.
|
Entry(T value,
String type,
boolean primary,
String display,
String operation)
Constructs an entry instance with the specified information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplay()
Retrieves the human readable name, primarily used for display purposes
where the value is an opaque or complex type such as an id.
|
String |
getOperation()
Retrieves the operation to perform on the multi-valued attribute during
a PATCH request.
|
String |
getType()
Retrieves the type of attribute for this instance, usually used to label
the preferred function of the given resource.
|
T |
getValue()
Retrieves the primary value of this attribute.
|
int |
hashCode() |
boolean |
isPrimary()
Whether this instance of the multi-valued Attribute is the primary or
preferred value of for this attribute.
|
void |
setDisplay(String display)
Sets the human readable name, primarily used for display purposes
where the value is an opaque or complex type such as an id.
|
void |
setOperation(String operation)
Sets the operation to perform on the multi-valued attribute during a
PATCH request.
|
void |
setPrimary(boolean primary)
Sets whether this instance of the multi-valued Attribute is the primary or
preferred value of for this attribute.
|
void |
setType(String type)
Sets the type of attribute for this instance, usually used to label
the preferred function of the given resource.
|
void |
setValue(T value)
Sets the primary value of this attribute.
|
String |
toString() |
public static final AttributeValueResolver<Entry<String>> STRINGS_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from String valued Entry instances.public static final AttributeValueResolver<Entry<Boolean>> BOOLEANS_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Boolean valued Entry instances.public static final AttributeValueResolver<Entry<byte[]>> BINARIES_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from byte[] valued Entry instances.public static final AttributeValueResolver<Entry<Date>> DATES_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Date valued Entry instances.public Entry(T value, String type)
value - The primary value of this attribute.type - The type of attribute for this instance, usually used to
label the preferred function of the given resource.public Entry(T value, String type, boolean primary)
value - The primary value of this attribute.type - The type of attribute for this instance, usually used to
label the preferred function of the given resource.primary - A Boolean value indicating whether this instance of the
multi-valued Attribute is the primary or preferred value of
for this attribute.public Entry(T value, String type, boolean primary, String display)
value - The primary value of this attribute.type - The type of attribute for this instance, usually used to
label the preferred function of the given resource.primary - A Boolean value indicating whether this instance of the
multi-valued Attribute is the primary or preferred value of
for this attribute.display - A human readable name, primarily used for display purposes
where the value is an opaque or complex type such as an id.public Entry(T value, String type, boolean primary, String display, String operation)
value - The primary value of this attribute.type - The type of attribute for this instance, usually used to
label the preferred function of the given resource.primary - A Boolean value indicating whether this instance of the
multi-valued Attribute is the primary or preferred value of
for this attribute.display - A human readable name, primarily used for display purposes
where the value is an opaque or complex type such as an id.operation - The operation to perform on the multi-valued attribute
during a PATCH request.public boolean isPrimary()
true if this instance of the multi-valued Attribute is
the primary or preferred value of for this attribute or
false otherwisepublic void setPrimary(boolean primary)
primary - true if this instance of the multi-valued
Attribute is the primary or preferred value of for this
attribute or false otherwise.public String getType()
public void setType(String type)
type - The type of attribute for this instance, usually used to label
the preferred function of the given resource.public T getValue()
public void setValue(T value)
value - The primary value of this attribute.public String getDisplay()
public void setDisplay(String display)
display - The human readable name.public String getOperation()
public void setOperation(String operation)
operation - The operation to perform on the multi-valued attribute
during a PATCH request.Copyright © 2011–2016 UnboundID. All rights reserved.