|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.data.Entry<T>
T - The value type.public final class Entry<T>
Represents a standard value of a multi-valued attribute.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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 |
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 |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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.
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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 boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||