Package aas_core.aas3_0.enhancing
Class Unwrapper<EnhancementT>
java.lang.Object
aas_core.aas3_0.enhancing.Unwrapper<EnhancementT>
- Type Parameters:
EnhancementT- structure of the expected enhancement
- Direct Known Subclasses:
Enhancer
Unwrap enhancements from the wrapped instances.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmustUnwrap(IClass that) Unwrap the given model instance.Unwrap the given model instance.
-
Constructor Details
-
Unwrapper
public Unwrapper()
-
-
Method Details
-
unwrap
Unwrap the given model instance.- Parameters:
that- model instance to be unwrapped- Returns:
- Enhancement, or
Optional.empty()ifthathas not been wrapped yet.
-
mustUnwrap
Unwrap the given model instance.- Parameters:
that- model instance to be unwrapped- Returns:
- Enhancement wrapped around
that
-