public class ComponentInstanceInfo extends Startable
Constructor and Description |
---|
ComponentInstanceInfo()
Create a new component.
|
ComponentInstanceInfo(String name,
String typename,
String configuration,
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.
|
String |
getConfiguration()
Get the configuration.
|
String |
getName()
Get the name (expression).
|
String |
getNumber()
Get the number (expression).
|
SubcomponentTypeInfo |
getType(IModelInfo model)
Get the model of the component instance.
|
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(String configuration)
Set the configuration.
|
void |
setName(String name)
Set the name.
|
void |
setNumber(String number)
Set the number.
|
void |
setTypeName(String typename)
Set the typename.
|
String |
toString()
A string of this object.
|
getAutoShutdown, getDaemon, getDescription, getMaster, getSuspend, setAutoShutdown, setDaemon, setDescription, setMaster, setSuspend
public String getName()
public void setName(String name)
name
- The name to set.public String getTypeName()
public void setTypeName(String typename)
typename
- The typename to set.public String getConfiguration()
public void setConfiguration(String configuration)
configuration
- The configuration to set.public String getNumber()
public void setNumber(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.Copyright © 2012. All Rights Reserved.