Class ComponentInstanceInfo


  • public class ComponentInstanceInfo
    extends Startable
    Component instance information.
    • Field Detail

      • name

        protected java.lang.String name
        The name.
      • typename

        protected java.lang.String typename
        The type name.
      • configuration

        protected java.lang.String configuration
        The configuration.
      • number

        protected java.lang.String number
        The number of components.
      • arguments

        protected java.util.List<UnparsedExpression> arguments
        The list of contained arguments.
      • bindings

        protected java.util.List<RequiredServiceBinding> bindings
        The list of required service binding infos.
      • argumentsexp

        protected UnparsedExpression argumentsexp
        The arguments expression (Hack for BPMN Editor that saves args as one string.
    • Constructor Detail

      • ComponentInstanceInfo

        public ComponentInstanceInfo()
        Create a new component.
      • ComponentInstanceInfo

        public ComponentInstanceInfo​(java.lang.String name,
                                     java.lang.String typename,
                                     java.lang.String configuration,
                                     java.lang.String number)
        Create a new component.
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name (expression).
        Returns:
        The name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.
      • getTypeName

        public java.lang.String getTypeName()
        Get the type name.
        Returns:
        The type name.
      • setTypeName

        public void setTypeName​(java.lang.String typename)
        Set the typename.
        Parameters:
        typename - The typename to set.
      • getConfiguration

        public java.lang.String getConfiguration()
        Get the configuration.
        Returns:
        The configuration.
      • setConfiguration

        public void setConfiguration​(java.lang.String configuration)
        Set the configuration.
        Parameters:
        configuration - The configuration to set.
      • getNumber

        public java.lang.String getNumber()
        Get the number (expression).
        Returns:
        The number.
      • setNumber

        public void setNumber​(java.lang.String number)
        Set the number.
        Parameters:
        number - The number to set.
      • getArguments

        public UnparsedExpression[] getArguments()
        Get the list of arguments.
        Returns:
        The arguments.
      • setArguments

        public void setArguments​(UnparsedExpression[] arguments)
        Set the arguments.
        Parameters:
        arguments - The arguments to set.
      • addArgument

        public void addArgument​(UnparsedExpression argument)
        Add an argument.
        Parameters:
        arg - The argument.
      • getArgumentsExpression

        public UnparsedExpression getArgumentsExpression()
        Get the arguments expression.
        Returns:
        The arguments expression.
      • setArgumentsExpression

        public void setArgumentsExpression​(UnparsedExpression argumentsexp)
        Set the arguments expression.
        Parameters:
        argumentsexp - The arguments to set.
      • setBindings

        public void setBindings​(RequiredServiceBinding[] bindings)
        Set the bindings.
        Parameters:
        bindings - The bindings to set.
      • addBinding

        public void addBinding​(RequiredServiceBinding binding)
        Add a binding.
        Parameters:
        binding - The binding.
      • getType

        public SubcomponentTypeInfo getType​(IModelInfo model)
        Get the model of the component instance.
        Parameters:
        apptype - The application type this component is used in.
        Returns:
        The name of the component type.
      • toString

        public java.lang.String toString()
        A string of this object.
        Overrides:
        toString in class java.lang.Object