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 SummaryFields 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.Startabledescription
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll 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.StartablegetDescription, getKeepalive, getMonitoring, getScope, getSuspend, getSynchronous, setDescription, setKeepalive, setMonitoring, setScope, setSuspend, setSynchronous
 
- 
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name The name.
 - 
typenameprotected java.lang.String typename The type name.
 - 
configurationprotected java.lang.String configuration The configuration.
 - 
numberprotected java.lang.String number The number of components.
 - 
argumentsprotected java.util.List<UnparsedExpression> arguments The list of contained arguments.
 - 
bindingsprotected java.util.List<RequiredServiceBinding> bindings The list of required service binding infos.
 - 
argumentsexpprotected UnparsedExpression argumentsexp The arguments expression (Hack for BPMN Editor that saves args as one string.
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name (expression).- Returns:
- The name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 - 
getTypeNamepublic java.lang.String getTypeName() Get the type name.- Returns:
- The type name.
 
 - 
setTypeNamepublic void setTypeName(java.lang.String typename) Set the typename.- Parameters:
- typename- The typename to set.
 
 - 
getConfigurationpublic java.lang.String getConfiguration() Get the configuration.- Returns:
- The configuration.
 
 - 
setConfigurationpublic void setConfiguration(java.lang.String configuration) Set the configuration.- Parameters:
- configuration- The configuration to set.
 
 - 
getNumberpublic java.lang.String getNumber() Get the number (expression).- Returns:
- The number.
 
 - 
setNumberpublic void setNumber(java.lang.String number) Set the number.- Parameters:
- number- The number to set.
 
 - 
getArgumentspublic UnparsedExpression[] getArguments() Get the list of arguments.- Returns:
- The arguments.
 
 - 
setArgumentspublic void setArguments(UnparsedExpression[] arguments) Set the arguments.- Parameters:
- arguments- The arguments to set.
 
 - 
addArgumentpublic void addArgument(UnparsedExpression argument) Add an argument.- Parameters:
- arg- The argument.
 
 - 
getArgumentsExpressionpublic UnparsedExpression getArgumentsExpression() Get the arguments expression.- Returns:
- The arguments expression.
 
 - 
setArgumentsExpressionpublic void setArgumentsExpression(UnparsedExpression argumentsexp) Set the arguments expression.- Parameters:
- argumentsexp- The arguments to set.
 
 - 
getBindingspublic RequiredServiceBinding[] getBindings() Get the bindings.- Returns:
- the bindings.
 
 - 
setBindingspublic void setBindings(RequiredServiceBinding[] bindings) Set the bindings.- Parameters:
- bindings- The bindings to set.
 
 - 
addBindingpublic void addBinding(RequiredServiceBinding binding) Add a binding.- Parameters:
- binding- The binding.
 
 - 
getTypepublic 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.
 
 - 
toStringpublic java.lang.String toString() A string of this object.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-