Class NoopDataChannelMetaData
java.lang.Object
org.apache.cayenne.configuration.xml.NoopDataChannelMetaData
- All Implemented Interfaces:
DataChannelMetaData
Noop implementation of
DataChannelMetaData
.
Used by Cayenne runtime by default as it doesn't need this information.- Since:
- 4.1
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ConfigurationNode key, Object value) Store data for object.<T> T
get
(ConfigurationNode key, Class<T> type) Get meta data for object<T> T
remove
(ConfigurationNode key, Class<T> type)
-
Constructor Details
-
NoopDataChannelMetaData
public NoopDataChannelMetaData()
-
-
Method Details
-
add
Description copied from interface:DataChannelMetaData
Store data for object.- Specified by:
add
in interfaceDataChannelMetaData
- Parameters:
key
- object for which we want to store datavalue
- data to store
-
get
Description copied from interface:DataChannelMetaData
Get meta data for object- Specified by:
get
in interfaceDataChannelMetaData
- Type Parameters:
T
- meta data type- Parameters:
key
- object for wich we want meta datatype
- meta data type class- Returns:
- value or
null
if no data available
-
remove
- Specified by:
remove
in interfaceDataChannelMetaData
- Type Parameters:
T
- meta data type- Parameters:
key
- object for wich we want meta datatype
- meta data type class- Returns:
- value or
null
if no can't remove
-