|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.data.AttributeValueResolver<T>
T - The Java class to resolve.public abstract class AttributeValueResolver<T>
Used to resolve SCIM attribute values to Java instances.
| Field Summary | |
|---|---|
static AttributeValueResolver<byte[]> |
BINARY_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from byte[] instances. |
static AttributeValueResolver<Boolean> |
BOOLEAN_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from Boolean instances. |
static AttributeValueResolver<Date> |
DATE_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from String instances. |
static AttributeValueResolver<Double> |
DECIMAL_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from Decimal instances. |
static AttributeValueResolver<Long> |
INTEGER_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from Integer instances. |
static AttributeValueResolver<String> |
STRING_RESOLVER
The AttributeValueResolver that resolves SCIM attribute values
to/from String instances. |
| Constructor Summary | |
|---|---|
AttributeValueResolver()
|
|
| Method Summary | |
|---|---|
abstract SCIMAttributeValue |
fromInstance(AttributeDescriptor attributeDescriptor,
T value)
Create a SCIM attribute value from the given instance. |
abstract T |
toInstance(SCIMAttributeValue value)
Create an instance from the given attribute value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final AttributeValueResolver<String> STRING_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from String instances.
public static final AttributeValueResolver<Date> DATE_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from String instances.
public static final AttributeValueResolver<Boolean> BOOLEAN_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Boolean instances.
public static final AttributeValueResolver<byte[]> BINARY_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from byte[] instances.
public static final AttributeValueResolver<Double> DECIMAL_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Decimal instances.
public static final AttributeValueResolver<Long> INTEGER_RESOLVER
AttributeValueResolver that resolves SCIM attribute values
to/from Integer instances.
| Constructor Detail |
|---|
public AttributeValueResolver()
| Method Detail |
|---|
public abstract T toInstance(SCIMAttributeValue value)
value - The value to create an instance from.
public abstract SCIMAttributeValue fromInstance(AttributeDescriptor attributeDescriptor,
T value)
throws InvalidResourceException
attributeDescriptor - The descriptor for the attribute to create.value - The instance.
InvalidResourceException - if the value violates the schema.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||