Package jadex.micro
Class InjectionInfoHolder
- java.lang.Object
-
- jadex.micro.InjectionInfoHolder
-
public class InjectionInfoHolder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<FieldInfo>agentinjectionsThe agent injection targets.protected MultiCollection<java.lang.String,Tuple2<FieldInfo,java.lang.String>>argumentinjectionsThe argument injection targets.protected java.util.List<FieldInfo>featureinjectionsThe feature injection targets.protected java.util.List<FieldInfo>parentinjectionsThe parent injection targets.protected java.util.Map<java.lang.String,Tuple3<FieldInfo,java.lang.String,java.lang.String>>resultinjectionsThe result injection targets.protected java.util.List<ServiceCallInfo>servicecallsThe service value calls.protected MultiCollection<java.lang.String,MicroModel.ServiceInjectionInfo>serviceinjectionsThe service injection targets.
-
Constructor Summary
Constructors Constructor Description InjectionInfoHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAgentInjection(FieldInfo field)Add an injection field.voidaddArgumentInjection(java.lang.String name, FieldInfo field, java.lang.String convert)Add an injection field.voidaddFeatureInjection(java.lang.String name, FieldInfo field)Add an injection field.voidaddParentInjection(FieldInfo field)Add an injection field.voidaddResultInjection(java.lang.String name, FieldInfo field, java.lang.String convert, java.lang.String convback)Add an injection field.voidaddServiceCall(ServiceCallInfo call)Add an call field.voidaddServiceInjection(java.lang.String name, MicroModel.ServiceInjectionInfo si)Add an injection field.FieldInfo[]getAgentInjections()Get the agent injection fields.java.lang.String[]getArgumentInjectionNames()Get the argument injection names.Tuple2<FieldInfo,java.lang.String>[]getArgumentInjections(java.lang.String name)Get the argument injection fields.FieldInfo[]getFeatureInjections()Get the feature injection fields.FieldInfo[]getParentInjections()Get the parentinjections fields.Tuple3<FieldInfo,java.lang.String,java.lang.String>getResultInjection(java.lang.String name)Get the result injection field.java.lang.String[]getResultInjectionNames()Get the Result injection names.java.util.List<ServiceCallInfo>getServiceCalls()Get the service call fields.java.lang.String[]getServiceInjectionNames()Get the service injection names.MicroModel.ServiceInjectionInfo[]getServiceInjections(java.lang.String name)Get the service injection fields.voidsetServiceCalls(java.util.List<ServiceCallInfo> servicecalls)Set the service calls.
-
-
-
Field Detail
-
agentinjections
protected java.util.List<FieldInfo> agentinjections
The agent injection targets.
-
parentinjections
protected java.util.List<FieldInfo> parentinjections
The parent injection targets.
-
argumentinjections
protected MultiCollection<java.lang.String,Tuple2<FieldInfo,java.lang.String>> argumentinjections
The argument injection targets.
-
resultinjections
protected java.util.Map<java.lang.String,Tuple3<FieldInfo,java.lang.String,java.lang.String>> resultinjections
The result injection targets.
-
serviceinjections
protected MultiCollection<java.lang.String,MicroModel.ServiceInjectionInfo> serviceinjections
The service injection targets.
-
featureinjections
protected java.util.List<FieldInfo> featureinjections
The feature injection targets.
-
servicecalls
protected java.util.List<ServiceCallInfo> servicecalls
The service value calls.
-
-
Method Detail
-
addAgentInjection
public void addAgentInjection(FieldInfo field)
Add an injection field.- Parameters:
field- The field.
-
getAgentInjections
public FieldInfo[] getAgentInjections()
Get the agent injection fields.- Returns:
- The fields.
-
addParentInjection
public void addParentInjection(FieldInfo field)
Add an injection field.- Parameters:
field- The field.
-
getParentInjections
public FieldInfo[] getParentInjections()
Get the parentinjections fields.- Returns:
- The fields.
-
addArgumentInjection
public void addArgumentInjection(java.lang.String name, FieldInfo field, java.lang.String convert)Add an injection field.- Parameters:
name- The name.field- The field.
-
getArgumentInjections
public Tuple2<FieldInfo,java.lang.String>[] getArgumentInjections(java.lang.String name)
Get the argument injection fields.- Returns:
- The fields.
-
getArgumentInjectionNames
public java.lang.String[] getArgumentInjectionNames()
Get the argument injection names.- Returns:
- The names.
-
addResultInjection
public void addResultInjection(java.lang.String name, FieldInfo field, java.lang.String convert, java.lang.String convback)Add an injection field.- Parameters:
name- The name.field- The field.
-
getResultInjection
public Tuple3<FieldInfo,java.lang.String,java.lang.String> getResultInjection(java.lang.String name)
Get the result injection field.- Returns:
- The fields.
-
getResultInjectionNames
public java.lang.String[] getResultInjectionNames()
Get the Result injection names.- Returns:
- The names.
-
addServiceInjection
public void addServiceInjection(java.lang.String name, MicroModel.ServiceInjectionInfo si)Add an injection field.- Parameters:
name- The name.field- The field.
-
getServiceInjections
public MicroModel.ServiceInjectionInfo[] getServiceInjections(java.lang.String name)
Get the service injection fields.- Returns:
- The field or method infos.
-
getServiceInjectionNames
public java.lang.String[] getServiceInjectionNames()
Get the service injection names.- Returns:
- The names.
-
addFeatureInjection
public void addFeatureInjection(java.lang.String name, FieldInfo field)Add an injection field.- Parameters:
name- The name.field- The field.
-
getFeatureInjections
public FieldInfo[] getFeatureInjections()
Get the feature injection fields.- Returns:
- The fields.
-
addServiceCall
public void addServiceCall(ServiceCallInfo call)
Add an call field.- Parameters:
name- The name.field- The field.
-
getServiceCalls
public java.util.List<ServiceCallInfo> getServiceCalls()
Get the service call fields.- Returns:
- The field or method infos.
-
setServiceCalls
public void setServiceCalls(java.util.List<ServiceCallInfo> servicecalls)
Set the service calls.
-
-