public interface CloudObjectTranslator<T>
CloudObject which can be converted back
to the original object.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
cloudObjectClassName()
Gets the class name that will represent the
CloudObject created by this CloudObjectTranslator. |
T |
fromCloudObject(CloudObject cloudObject)
Converts back into the original object from a provided
CloudObject. |
java.lang.Class<? extends T> |
getSupportedClass()
Gets the class this
CloudObjectTranslator is capable of converting. |
CloudObject |
toCloudObject(T target)
Converts the provided object into an equivalent
CloudObject. |
CloudObject toCloudObject(T target)
CloudObject.T fromCloudObject(CloudObject cloudObject)
CloudObject.java.lang.Class<? extends T> getSupportedClass()
CloudObjectTranslator is capable of converting.java.lang.String cloudObjectClassName()
CloudObject created by this CloudObjectTranslator.