Interface EffectiveModelContextProvider
-
- All Superinterfaces:
SchemaContextProvider
@Beta public interface EffectiveModelContextProvider extends SchemaContextProvider
A static provider of anEffectiveModelContext
.- Author:
- Robert Varga
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NonNull EffectiveModelContext
getEffectiveModelContext()
Return theEffectiveModelContext
attached to this object.default SchemaContext
getSchemaContext()
Return theSchemaContext
attached to this object.
-
-
-
Method Detail
-
getEffectiveModelContext
@NonNull EffectiveModelContext getEffectiveModelContext()
Return theEffectiveModelContext
attached to this object.- Returns:
- An EffectiveModelContext instance.
- Throws:
IllegalStateException
- if the context is not available.
-
getSchemaContext
default SchemaContext getSchemaContext()
Description copied from interface:SchemaContextProvider
Return theSchemaContext
attached to this object.- Specified by:
getSchemaContext
in interfaceSchemaContextProvider
- Returns:
- An SchemaContext instance.
-
-