public class ComponentInstanceInfo extends Startable
Modifier and Type | Field and 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.
|
description
Constructor and 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.
|
Modifier and Type | Method and 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.
|
getAutoShutdown, getDaemon, getDescription, getKeepalive, getMaster, getMonitoring, getPersistable, getScope, getSuspend, getSynchronous, setAutoShutdown, setDaemon, setDescription, setKeepalive, setMaster, setMonitoring, setPersistable, setScope, setSuspend, setSynchronous
protected java.lang.String name
protected java.lang.String typename
protected java.lang.String configuration
protected java.lang.String number
protected java.util.List<UnparsedExpression> arguments
protected java.util.List<RequiredServiceBinding> bindings
protected UnparsedExpression argumentsexp
public ComponentInstanceInfo()
public ComponentInstanceInfo(java.lang.String name, java.lang.String typename, java.lang.String configuration, java.lang.String number)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.lang.String getTypeName()
public void setTypeName(java.lang.String typename)
typename
- The typename to set.public java.lang.String getConfiguration()
public void setConfiguration(java.lang.String configuration)
configuration
- The configuration to set.public java.lang.String getNumber()
public void setNumber(java.lang.String number)
number
- The number to set.public UnparsedExpression[] getArguments()
public void setArguments(UnparsedExpression[] arguments)
arguments
- The arguments to set.public void addArgument(UnparsedExpression argument)
arg
- The argument.public UnparsedExpression getArgumentsExpression()
public void setArgumentsExpression(UnparsedExpression argumentsexp)
argumentsexp
- The arguments to set.public RequiredServiceBinding[] getBindings()
public void setBindings(RequiredServiceBinding[] bindings)
bindings
- The bindings to set.public void addBinding(RequiredServiceBinding binding)
binding
- The binding.public SubcomponentTypeInfo getType(IModelInfo model)
apptype
- The application type this component is used in.public java.lang.String toString()
toString
in class java.lang.Object