Package eu.bandm.tools.ramus.ogma
Class Data.ViewProxy<A>
java.lang.Object
eu.bandm.tools.ramus.ogma.Data.ViewProxy<A>
- Type Parameters:
A- the type of unwrapped values
- All Implemented Interfaces:
Data.View<A>
- Enclosing interface:
Data
A placeholder for a view that can be initialized late.
-
Method Details
-
view
Returns the unwrapped interpretation of the given data according to this view.This implementation delegates to the body if intialized.
- Specified by:
viewin interfaceData.View<A>- Parameters:
x- the wrapped data- Returns:
- the unwrapped data, if this view is compatible
- Throws:
IllegalStateException- if this proxy has not been initialized
-