Interface IEntityDeserializationStateHolder
Deprecated.
State holder for setting and retrieving data, used by
IEntityDeserializationExtension. The state's lifecycle
is tied to the entity being serialized. In particular, state set in
handlePreFieldDeserializationHook will be available in
handlePostEntityDeserializationHook.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets the value associated with the given key.<T> TDeprecated.Gets the value associated with the given key, cast to the given type.voidDeprecated.Associates the given value with the given key.voidDeprecated.Removes the association with the given key.
-
Method Details
-
get
-
get
Deprecated.Gets the value associated with the given key, cast to the given type. Returns null when the value is of the wrong type or no value is associated with the key.- Type Parameters:
T- The type to cast the value to.- Parameters:
key- The key to look up.type- The type to cast the value to.- Returns:
- The value associated with the key, or null if no value is associated with the key or the value is of the wrong type.
-
put
-
remove
Deprecated.Removes the association with the given key.- Parameters:
key- The key to remove the association for.
-