Package jadex.micro
Class MicroModel.ServiceInjectionInfo
- java.lang.Object
-
- jadex.micro.MicroModel.ServiceInjectionInfo
-
- Enclosing class:
- MicroModel
public static class MicroModel.ServiceInjectionInfo extends java.lang.Object
Struct for injection info.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
active
The active period for query.protected FieldInfo
fieldinfo
The fieldinfo.protected java.lang.Boolean
lazy
The lazy flag.protected MethodInfo
methodinfo
The methodinfo.protected java.lang.Boolean
query
The query flag.protected RequiredServiceInfo
reqserinfo
The required service info.protected java.lang.Boolean
required
The required flag (fail if not present).
-
Constructor Summary
Constructors Constructor Description ServiceInjectionInfo()
Create a new injection info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getActive()
FieldInfo
getFieldInfo()
Get the fieldInfo.java.lang.Boolean
getLazy()
Get the lazy.MethodInfo
getMethodInfo()
Get the methodInfo.java.lang.Boolean
getQuery()
Get the query.java.lang.Boolean
getRequired()
RequiredServiceInfo
getRequiredServiceInfo()
Get the required service info.void
setActive(long active)
MicroModel.ServiceInjectionInfo
setFieldInfo(FieldInfo fieldInfo)
Set the fieldInfo.MicroModel.ServiceInjectionInfo
setLazy(java.lang.Boolean lazy)
Set the lazy.MicroModel.ServiceInjectionInfo
setMethodInfo(MethodInfo methodInfo)
Set the methodInfo.MicroModel.ServiceInjectionInfo
setQuery(java.lang.Boolean query)
Set the query.void
setRequired(java.lang.Boolean required)
MicroModel.ServiceInjectionInfo
setRequiredServiceInfo(RequiredServiceInfo requiredServiceInfo)
Set the required service info.
-
-
-
Field Detail
-
fieldinfo
protected FieldInfo fieldinfo
The fieldinfo.
-
methodinfo
protected MethodInfo methodinfo
The methodinfo.
-
lazy
protected java.lang.Boolean lazy
The lazy flag.
-
query
protected java.lang.Boolean query
The query flag.
-
required
protected java.lang.Boolean required
The required flag (fail if not present).
-
active
protected long active
The active period for query.
-
reqserinfo
protected RequiredServiceInfo reqserinfo
The required service info.
-
-
Method Detail
-
getFieldInfo
public FieldInfo getFieldInfo()
Get the fieldInfo.- Returns:
- the fieldInfo
-
setFieldInfo
public MicroModel.ServiceInjectionInfo setFieldInfo(FieldInfo fieldInfo)
Set the fieldInfo.- Parameters:
fieldInfo
- The fieldInfo to set
-
getMethodInfo
public MethodInfo getMethodInfo()
Get the methodInfo.- Returns:
- the methodInfo
-
setMethodInfo
public MicroModel.ServiceInjectionInfo setMethodInfo(MethodInfo methodInfo)
Set the methodInfo.- Parameters:
methodInfo
- The methodInfo to set
-
getLazy
public java.lang.Boolean getLazy()
Get the lazy.- Returns:
- the lazy
-
setLazy
public MicroModel.ServiceInjectionInfo setLazy(java.lang.Boolean lazy)
Set the lazy.- Parameters:
lazy
- The lazy to set
-
getQuery
public java.lang.Boolean getQuery()
Get the query.- Returns:
- the query
-
setQuery
public MicroModel.ServiceInjectionInfo setQuery(java.lang.Boolean query)
Set the query.- Parameters:
query
- The query to set
-
getRequiredServiceInfo
public RequiredServiceInfo getRequiredServiceInfo()
Get the required service info.- Returns:
- The requiredServiceInfo
-
setRequiredServiceInfo
public MicroModel.ServiceInjectionInfo setRequiredServiceInfo(RequiredServiceInfo requiredServiceInfo)
Set the required service info.- Parameters:
requiredServiceInfo
- the requiredServiceInfo to set
-
getRequired
public java.lang.Boolean getRequired()
- Returns:
- the required
-
setRequired
public void setRequired(java.lang.Boolean required)
- Parameters:
required
- the required to set
-
getActive
public long getActive()
- Returns:
- the active
-
setActive
public void setActive(long active)
- Parameters:
active
- the active to set
-
-