Package jadex.requiredservice.impl
Class ServiceInjectionInfo
java.lang.Object
jadex.requiredservice.impl.ServiceInjectionInfo
Struct for injection info.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longThe active period for query.protected jadex.common.FieldInfoThe fieldinfo.protected BooleanThe lazy flag.protected jadex.common.MethodInfoThe methodinfo.protected BooleanThe query flag.protected RequiredServiceInfoThe required service info.protected BooleanThe required flag (fail if not present). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongjadex.common.FieldInfoGet the fieldInfo.getLazy()Get the lazy.jadex.common.MethodInfoGet the methodInfo.getQuery()Get the query.Get the required service info.voidsetActive(long active) setFieldInfo(jadex.common.FieldInfo fieldInfo) Set the fieldInfo.Set the lazy.setMethodInfo(jadex.common.MethodInfo methodInfo) Set the methodInfo.Set the query.voidsetRequired(Boolean required) setRequiredServiceInfo(RequiredServiceInfo requiredServiceInfo) Set the required service info.
-
Field Details
-
fieldinfo
protected jadex.common.FieldInfo fieldinfoThe fieldinfo. -
methodinfo
protected jadex.common.MethodInfo methodinfoThe methodinfo. -
lazy
The lazy flag. -
query
The query flag. -
required
The required flag (fail if not present). -
active
protected long activeThe active period for query. -
reqserinfo
The required service info.
-
-
Constructor Details
-
ServiceInjectionInfo
public ServiceInjectionInfo()Create a new injection info.
-
-
Method Details
-
getFieldInfo
public jadex.common.FieldInfo getFieldInfo()Get the fieldInfo.- Returns:
- the fieldInfo
-
setFieldInfo
Set the fieldInfo.- Parameters:
fieldInfo- The fieldInfo to set
-
getMethodInfo
public jadex.common.MethodInfo getMethodInfo()Get the methodInfo.- Returns:
- the methodInfo
-
setMethodInfo
Set the methodInfo.- Parameters:
methodInfo- The methodInfo to set
-
getLazy
Get the lazy.- Returns:
- the lazy
-
setLazy
Set the lazy.- Parameters:
lazy- The lazy to set
-
getQuery
Get the query.- Returns:
- the query
-
setQuery
Set the query.- Parameters:
query- The query to set
-
getRequiredServiceInfo
Get the required service info.- Returns:
- The requiredServiceInfo
-
setRequiredServiceInfo
Set the required service info.- Parameters:
requiredServiceInfo- the requiredServiceInfo to set
-
getRequired
- Returns:
- the required
-
setRequired
- 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
-