Package jadex.micro
Class InjectionInfoHolder
java.lang.Object
jadex.micro.InjectionInfoHolder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<jadex.common.FieldInfo> The agent injection targets.protected jadex.collection.MultiCollection<String, jadex.common.Tuple2<jadex.common.FieldInfo, String>> The argument injection targets.protected List<jadex.common.FieldInfo> The feature injection targets.protected List<jadex.common.FieldInfo> The parent injection targets.The result injection targets.protected List<jadex.model.ServiceCallInfo> The service value calls. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAgentInjection(jadex.common.FieldInfo field) Add an injection field.voidaddArgumentInjection(String name, jadex.common.FieldInfo field, String convert) Add an injection field.voidaddFeatureInjection(String name, jadex.common.FieldInfo field) Add an injection field.voidaddParentInjection(jadex.common.FieldInfo field) Add an injection field.voidaddResultInjection(String name, jadex.common.FieldInfo field, String convert, String convback) Add an injection field.voidaddServiceCall(jadex.model.ServiceCallInfo call) Add an call field.jadex.common.FieldInfo[]Get the agent injection fields.String[]Get the argument injection names.jadex.common.Tuple2<jadex.common.FieldInfo,String>[] getArgumentInjections(String name) Get the argument injection fields.jadex.common.FieldInfo[]Get the feature injection fields.jadex.common.FieldInfo[]Get the parentinjections fields.getResultInjection(String name) Get the result injection field.String[]Get the Result injection names.List<jadex.model.ServiceCallInfo> Get the service call fields.voidsetServiceCalls(List<jadex.model.ServiceCallInfo> servicecalls) Set the service calls.
-
Field Details
-
agentinjections
The agent injection targets. -
parentinjections
The parent injection targets. -
argumentinjections
protected jadex.collection.MultiCollection<String,jadex.common.Tuple2<jadex.common.FieldInfo, argumentinjectionsString>> The argument injection targets. -
resultinjections
The result injection targets. -
featureinjections
The feature injection targets. -
servicecalls
The service value calls.
-
-
Constructor Details
-
InjectionInfoHolder
public InjectionInfoHolder()
-
-
Method Details
-
addAgentInjection
public void addAgentInjection(jadex.common.FieldInfo field) Add an injection field.- Parameters:
field- The field.
-
getAgentInjections
public jadex.common.FieldInfo[] getAgentInjections()Get the agent injection fields.- Returns:
- The fields.
-
addParentInjection
public void addParentInjection(jadex.common.FieldInfo field) Add an injection field.- Parameters:
field- The field.
-
getParentInjections
public jadex.common.FieldInfo[] getParentInjections()Get the parentinjections fields.- Returns:
- The fields.
-
addArgumentInjection
Add an injection field.- Parameters:
name- The name.field- The field.
-
getArgumentInjections
Get the argument injection fields.- Returns:
- The fields.
-
getArgumentInjectionNames
Get the argument injection names.- Returns:
- The names.
-
addResultInjection
public void addResultInjection(String name, jadex.common.FieldInfo field, String convert, String convback) Add an injection field.- Parameters:
name- The name.field- The field.
-
getResultInjection
Get the result injection field.- Returns:
- The fields.
-
getResultInjectionNames
Get the Result injection names.- Returns:
- The names.
-
addFeatureInjection
Add an injection field.- Parameters:
name- The name.field- The field.
-
getFeatureInjections
public jadex.common.FieldInfo[] getFeatureInjections()Get the feature injection fields.- Returns:
- The fields.
-
addServiceCall
public void addServiceCall(jadex.model.ServiceCallInfo call) Add an call field.- Parameters:
name- The name.field- The field.
-
getServiceCalls
Get the service call fields.- Returns:
- The field or method infos.
-
setServiceCalls
Set the service calls.
-