Package jadex.model.modelinfo
Class ComponentInstanceInfo
java.lang.Object
jadex.model.modelinfo.Startable
jadex.model.modelinfo.ComponentInstanceInfo
Component instance information.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<jadex.common.UnparsedExpression>The list of contained arguments.protected jadex.common.UnparsedExpressionThe arguments expression (Hack for BPMN Editor that saves args as one string.protected StringThe configuration.protected StringThe name.protected StringThe number of components.protected StringThe type name.Fields inherited from class jadex.model.modelinfo.Startable
description -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new component.ComponentInstanceInfo(String name, String typename, String configuration, String number) Create a new component. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(jadex.common.UnparsedExpression argument) Add an argument.jadex.common.UnparsedExpression[]Get the list of arguments.jadex.common.UnparsedExpressionGet the arguments expression.Get the configuration.getName()Get the name (expression).Get the number (expression).Get the type name.voidsetArguments(jadex.common.UnparsedExpression[] arguments) Set the arguments.voidsetArgumentsExpression(jadex.common.UnparsedExpression argumentsexp) Set the arguments expression.voidsetConfiguration(String configuration) Set the configuration.voidSet the name.voidSet the number.voidsetTypeName(String typename) Set the typename.toString()A string of this object.Methods inherited from class jadex.model.modelinfo.Startable
getDescription, getKeepalive, getSuspend, getSynchronous, setDescription, setKeepalive, setSuspend, setSynchronous
-
Field Details
-
name
The name. -
typename
The type name. -
configuration
The configuration. -
number
The number of components. -
arguments
The list of contained arguments. -
argumentsexp
protected jadex.common.UnparsedExpression argumentsexpThe arguments expression (Hack for BPMN Editor that saves args as one string.
-
-
Constructor Details
-
ComponentInstanceInfo
public ComponentInstanceInfo()Create a new component. -
ComponentInstanceInfo
Create a new component.
-
-
Method Details
-
getName
Get the name (expression).- Returns:
- The name.
-
setName
Set the name.- Parameters:
name- The name to set.
-
getTypeName
Get the type name.- Returns:
- The type name.
-
setTypeName
Set the typename.- Parameters:
typename- The typename to set.
-
getConfiguration
Get the configuration.- Returns:
- The configuration.
-
setConfiguration
Set the configuration.- Parameters:
configuration- The configuration to set.
-
getNumber
Get the number (expression).- Returns:
- The number.
-
setNumber
Set the number.- Parameters:
number- The number to set.
-
getArguments
public jadex.common.UnparsedExpression[] getArguments()Get the list of arguments.- Returns:
- The arguments.
-
setArguments
public void setArguments(jadex.common.UnparsedExpression[] arguments) Set the arguments.- Parameters:
arguments- The arguments to set.
-
addArgument
public void addArgument(jadex.common.UnparsedExpression argument) Add an argument.- Parameters:
arg- The argument.
-
getArgumentsExpression
public jadex.common.UnparsedExpression getArgumentsExpression()Get the arguments expression.- Returns:
- The arguments expression.
-
setArgumentsExpression
public void setArgumentsExpression(jadex.common.UnparsedExpression argumentsexp) Set the arguments expression.- Parameters:
argumentsexp- The arguments to set.
-
toString
A string of this object.
-