com.amazonaws.services.dynamodbv2.datamodeling
Class AttributeTransformerChain

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.datamodeling.AttributeTransformerChain
All Implemented Interfaces:
AttributeTransformer

Deprecated. These classes have been deprecated, please use the classes in the com.amazonaws.mobileconnectors namespace.

public class AttributeTransformerChain
extends java.lang.Object
implements AttributeTransformer

A virtual AttributeTransformer that transforms and untransforms attributes by running them through a cascading series of child AttributeTransformer instances.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.amazonaws.services.dynamodbv2.datamodeling.AttributeTransformer
AttributeTransformer.Parameters<T>
 
Constructor Summary
AttributeTransformerChain(AttributeTransformer... transformers)
          Deprecated. Creates a new transformer chain from the given array of transformers.
AttributeTransformerChain(java.util.List<AttributeTransformer> transformers)
          Deprecated. Creates a new transformer chain from the given list of transformers.
 
Method Summary
 java.util.List<AttributeTransformer> getTransformers()
          Deprecated.  
 java.lang.String toString()
          Deprecated.  
 java.util.Map<java.lang.String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
          Deprecated. Transforms the input set of attribute values derived from the model object before writing them into DynamoDB.
 java.util.Map<java.lang.String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
          Deprecated. Untransform the input set of attribute values read from DynamoDB before creating a model object from them.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeTransformerChain

public AttributeTransformerChain(AttributeTransformer... transformers)
Deprecated. 
Creates a new transformer chain from the given array of transformers. When transforming attributes, these transformers are invoked from first to last; when untransforming they are invoked in the opposite order.

Parameters:
transformers - the chain of transformers.

AttributeTransformerChain

public AttributeTransformerChain(java.util.List<AttributeTransformer> transformers)
Deprecated. 
Creates a new transformer chain from the given list of transformers. When transforming attributes, these transformers are invoked from first to last; when untransforming they are invoked in the opposite order.

Parameters:
transformers - the chain of transformers.
Method Detail

getTransformers

public java.util.List<AttributeTransformer> getTransformers()
Deprecated. 
Returns:
the transformers in this chain

transform

public java.util.Map<java.lang.String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
Deprecated. 
Description copied from interface: AttributeTransformer
Transforms the input set of attribute values derived from the model object before writing them into DynamoDB.

Specified by:
transform in interface AttributeTransformer
Parameters:
parameters - transformation parameters
Returns:
the transformed attribute value map

untransform

public java.util.Map<java.lang.String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
Deprecated. 
Description copied from interface: AttributeTransformer
Untransform the input set of attribute values read from DynamoDB before creating a model object from them.

Specified by:
untransform in interface AttributeTransformer
Parameters:
parameters - transformation parameters
Returns:
the untransformed attribute value map

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.