public static class MicroModel.ServiceInjectionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FieldInfo |
fieldInfo
The fieldinfo.
|
protected boolean |
lazy
The lazy flag.
|
protected MethodInfo |
methodInfo
The methodinfo.
|
protected boolean |
query
The query flag.
|
Constructor and Description |
---|
ServiceInjectionInfo(FieldInfo fieldInfo,
boolean lazy)
Create a new injection info.
|
ServiceInjectionInfo(MethodInfo methodInfo,
boolean query)
Create a new injection info.
|
Modifier and Type | Method and Description |
---|---|
FieldInfo |
getFieldInfo()
Get the fieldInfo.
|
MethodInfo |
getMethodInfo()
Get the methodInfo.
|
boolean |
isLazy()
Get the lazy.
|
boolean |
isQuery()
Get the query.
|
void |
setFieldInfo(FieldInfo fieldInfo)
Set the fieldInfo.
|
void |
setLazy(boolean lazy)
Set the lazy.
|
void |
setMethodInfo(MethodInfo methodInfo)
Set the methodInfo.
|
void |
setQuery(boolean query)
Set the query.
|
protected FieldInfo fieldInfo
protected MethodInfo methodInfo
protected boolean lazy
protected boolean query
public ServiceInjectionInfo(FieldInfo fieldInfo, boolean lazy)
public ServiceInjectionInfo(MethodInfo methodInfo, boolean query)
public FieldInfo getFieldInfo()
public void setFieldInfo(FieldInfo fieldInfo)
fieldInfo
- The fieldInfo to setpublic MethodInfo getMethodInfo()
public void setMethodInfo(MethodInfo methodInfo)
methodInfo
- The methodInfo to setpublic boolean isLazy()
public void setLazy(boolean lazy)
lazy
- The lazy to setpublic boolean isQuery()
public void setQuery(boolean query)
query
- The query to set