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>argumentsThe list of contained arguments.protected UnparsedExpressionargumentsexpThe arguments expression (Hack for BPMN Editor that saves args as one string.protected java.util.List<RequiredServiceBinding>bindingsThe list of required service binding infos.protected java.lang.StringconfigurationThe configuration.protected java.lang.StringnameThe name.protected java.lang.StringnumberThe number of components.protected java.lang.StringtypenameThe 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 voidaddArgument(UnparsedExpression argument)Add an argument.voidaddBinding(RequiredServiceBinding binding)Add a binding.UnparsedExpression[]getArguments()Get the list of arguments.UnparsedExpressiongetArgumentsExpression()Get the arguments expression.RequiredServiceBinding[]getBindings()Get the bindings.java.lang.StringgetConfiguration()Get the configuration.java.lang.StringgetName()Get the name (expression).java.lang.StringgetNumber()Get the number (expression).SubcomponentTypeInfogetType(IModelInfo model)Get the model of the component instance.java.lang.StringgetTypeName()Get the type name.voidsetArguments(UnparsedExpression[] arguments)Set the arguments.voidsetArgumentsExpression(UnparsedExpression argumentsexp)Set the arguments expression.voidsetBindings(RequiredServiceBinding[] bindings)Set the bindings.voidsetConfiguration(java.lang.String configuration)Set the configuration.voidsetName(java.lang.String name)Set the name.voidsetNumber(java.lang.String number)Set the number.voidsetTypeName(java.lang.String typename)Set the typename.java.lang.StringtoString()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:
 toStringin classjava.lang.Object
 
 - 
 
 -