public interface MetaData
get(Class) method, passing one of the types used to register the instance. A data
instance can be registered in the meta data object under multiple types by using the
register(Object, Class[]) method.| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(java.lang.Class<T> type)
Get the strongly typed data instance for the specified type.
|
void |
register(java.lang.Object instance,
java.lang.Class... types)
Register a data instance for one or more types.
|
<T> T get(java.lang.Class<T> type)
T - The type of the datatype - The type of the data requiredvoid register(java.lang.Object instance,
java.lang.Class... types)
instance - The data instance to storetypes - The types for which this data instance should be returned.Copyright © 2018 SAP SE. All Rights Reserved.