Package jadex.bridge.modelinfo
Class ComponentInstanceInfo
- java.lang.Object
-
- jadex.bridge.modelinfo.Startable
-
- jadex.bridge.modelinfo.ComponentInstanceInfo
-
public class ComponentInstanceInfo extends Startable
Component instance information.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<UnparsedExpression>
arguments
The list of contained arguments.protected UnparsedExpression
argumentsexp
The arguments expression (Hack for BPMN Editor that saves args as one string.protected java.util.List<RequiredServiceBinding>
bindings
The list of required service binding infos.protected java.lang.String
configuration
The configuration.protected java.lang.String
name
The name.protected java.lang.String
number
The number of components.protected java.lang.String
typename
The type name.-
Fields inherited from class jadex.bridge.modelinfo.Startable
description
-
-
Constructor Summary
Constructors Constructor Description ComponentInstanceInfo()
Create a new component.ComponentInstanceInfo(java.lang.String name, java.lang.String typename, java.lang.String configuration, java.lang.String number)
Create a new component.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArgument(UnparsedExpression argument)
Add an argument.void
addBinding(RequiredServiceBinding binding)
Add a binding.UnparsedExpression[]
getArguments()
Get the list of arguments.UnparsedExpression
getArgumentsExpression()
Get the arguments expression.RequiredServiceBinding[]
getBindings()
Get the bindings.java.lang.String
getConfiguration()
Get the configuration.java.lang.String
getName()
Get the name (expression).java.lang.String
getNumber()
Get the number (expression).SubcomponentTypeInfo
getType(IModelInfo model)
Get the model of the component instance.java.lang.String
getTypeName()
Get the type name.void
setArguments(UnparsedExpression[] arguments)
Set the arguments.void
setArgumentsExpression(UnparsedExpression argumentsexp)
Set the arguments expression.void
setBindings(RequiredServiceBinding[] bindings)
Set the bindings.void
setConfiguration(java.lang.String configuration)
Set the configuration.void
setName(java.lang.String name)
Set the name.void
setNumber(java.lang.String number)
Set the number.void
setTypeName(java.lang.String typename)
Set the typename.java.lang.String
toString()
A string of this object.-
Methods inherited from class jadex.bridge.modelinfo.Startable
getDescription, getKeepalive, getMonitoring, getScope, getSuspend, getSynchronous, setDescription, setKeepalive, setMonitoring, setScope, setSuspend, setSynchronous
-
-
-
-
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.
-
-
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.
-
getBindings
public RequiredServiceBinding[] getBindings()
Get the bindings.- Returns:
- the bindings.
-
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 classjava.lang.Object
-
-