public interface DataModelMirrorRepository
DataModelMirror
.
Adding a new data model kinds to Operator DSL compiler, clients can implement this
and put the class name in
META-INF/services/com.asakusafw.operator.DataModelMirrorRepository
.
Modifier and Type | Method and Description |
---|---|
DataModelMirror |
load(CompileEnvironment environment,
TypeMirror type)
Loads a mirror of the data model corresponded to the specified type.
|
DataModelMirror load(CompileEnvironment environment, TypeMirror type)
environment
- the compiling environmenttype
- the corresponded typenull
if the type does not represent a valid data model for this repositoryIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.