|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.mobileconnectors.dynamodbv2.dynamodbmapper.unmarshallers.BooleanUnmarshaller
public class BooleanUnmarshaller
An unmarshaller that unmarshals DynamoDB Bools (or Numbers) into Java
Booleans. Numbers are handled for backwards compatibility with
versions of the mapper written before the DynamoDB native Boolean type
was added, which stored Java Booleans as either the Number 0 (false)
or 1 (true).
| Method Summary | |
|---|---|
static BooleanUnmarshaller |
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 BooleanUnmarshaller instance()
public void typeCheck(AttributeValue value,
java.lang.reflect.Method setter)
ArgumentUnmarshaller
typeCheck in interface ArgumentUnmarshallerpublic java.lang.Object unmarshall(AttributeValue value)
ArgumentUnmarshallerAttributeValue given into an instance of the
appropriate type, as determined by DynamoDBReflector and
DynamoDBMapper
unmarshall in interface ArgumentUnmarshaller
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||