Package jadex.micro

Class InjectionInfoHolder


  • public class InjectionInfoHolder
    extends java.lang.Object
    • 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.
      • featureinjections

        protected java.util.List<FieldInfo> featureinjections
        The feature injection targets.
      • servicecalls

        protected java.util.List<ServiceCallInfo> servicecalls
        The service value calls.
    • Constructor Detail

      • InjectionInfoHolder

        public InjectionInfoHolder()
    • 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.