|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers.BooleanSetUnmarshaller
public class BooleanSetUnmarshaller
A legacy unmarshaller that unmarshals DynamoDB NumberSets containing only "0" and "1" into a set of Java Booleans (with "0" == false and "1" == true). Retained only for backwards compatibility - DynamoDB does not have a BooleanSet type, and sets of booleans aren't particularly useful anyways.
| Method Summary | |
|---|---|
static BooleanSetUnmarshaller |
instance()
|
void |
typeCheck(AttributeValue value,
java.lang.reflect.Method setter)
Asserts that the value given can be processed using the setter given. |
java.lang.Object |
unmarshall(AttributeValue value)
Unmarshalls the AttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static BooleanSetUnmarshaller instance()
public java.lang.Object unmarshall(AttributeValue value)
ArgumentUnmarshallerAttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper
public void typeCheck(AttributeValue value,
java.lang.reflect.Method setter)
ArgumentUnmarshaller
typeCheck in interface ArgumentUnmarshaller
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||