Package com.sap.cds
Class Struct.MapViewFactory
java.lang.Object
com.sap.cds.Struct.MapViewFactory
- Enclosing class:
- Struct
-
Method Summary
Modifier and TypeMethodDescription<T> T
Provides typed access on the underlying data map.<T> T
asReadOnly
(Class<T> view) Provides typed read-only access on the underlying data map.
-
Method Details
-
as
Provides typed access on the underlying data map.- Type Parameters:
T
- the return type- Parameters:
view
- the accessor interface- Returns:
- a typed writable view on the underlying data map
-
asReadOnly
Provides typed read-only access on the underlying data map.- Type Parameters:
T
- the return type- Parameters:
view
- the accessor interface- Returns:
- a typed read-only view on the underlying data map
-