Package jadex.extension.envsupport
Class MEnvSpaceInstance
- java.lang.Object
- 
- jadex.extension.envsupport.MEnvSpaceInstance
 
- 
- All Implemented Interfaces:
- IExtensionInfo
 
 public class MEnvSpaceInstance extends java.lang.Object implements IExtensionInfo Configuration of an Env space.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringnameThe space name.protected MultiCollection<java.lang.String,java.lang.Object>propertiesThe properties.protected MEnvSpaceTypespacetypeThe space type (resolved during loading).protected java.lang.StringtypeThe space type name.
 - 
Constructor SummaryConstructors Constructor Description MEnvSpaceInstance()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(java.lang.String key, java.lang.Object value)Add a property.IFuture<IExtensionInstance>createInstance(IExternalAccess access, IValueFetcher fetcher)Instantiate the extension for a specific component instance.java.lang.StringgetName()Get the name.java.util.MapgetProperties()Get the properties.java.lang.ObjectgetProperty(java.lang.String name)Get a property from a (multi)map.java.util.List<java.lang.Object>getPropertyList(java.lang.String key)Get a property.MEnvSpaceTypegetType()Get the type of this element.java.lang.StringgetTypeName()Get the type name.voidsetName(java.lang.String name)Set the name.voidsetType(MEnvSpaceType spacetype)Set the type of this element.voidsetTypeName(java.lang.String type)Set the type name.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name The space name.
 - 
typeprotected java.lang.String type The space type name.
 - 
spacetypeprotected MEnvSpaceType spacetype The space type (resolved during loading).
 - 
propertiesprotected MultiCollection<java.lang.String,java.lang.Object> properties The properties.
 
- 
 - 
Method Detail- 
createInstancepublic IFuture<IExtensionInstance> createInstance(IExternalAccess access, IValueFetcher fetcher) Instantiate the extension for a specific component instance.- Specified by:
- createInstancein interface- IExtensionInfo
- Parameters:
- access- The external access of the component.
- fetcher- The value fetcher of the component to be used for evaluating dynamic expressions.
- Returns:
- The extension instance object.
 
 - 
addPropertypublic void addProperty(java.lang.String key, java.lang.Object value)Add a property.- Parameters:
- key- The key.
- value- The value.
 
 - 
getPropertyListpublic java.util.List<java.lang.Object> getPropertyList(java.lang.String key) Get a property.- Parameters:
- key- The key.
- Returns:
- The value.
 
 - 
getPropertiespublic java.util.Map getProperties() Get the properties.- Returns:
- The properties.
 
 - 
getPropertypublic java.lang.Object getProperty(java.lang.String name) Get a property from a (multi)map.- Parameters:
- map- The map.
- name- The name.
- Returns:
- The property.
 
 - 
getTypeNamepublic java.lang.String getTypeName() Get the type name.- Returns:
- The type name.
 
 - 
setTypeNamepublic void setTypeName(java.lang.String type) Set the type name.- Parameters:
- type- The type name to set.
 
 - 
getTypepublic MEnvSpaceType getType() Get the type of this element.- Returns:
- The structure type.
 
 - 
setTypepublic void setType(MEnvSpaceType spacetype) Set the type of this element.
 - 
getNamepublic java.lang.String getName() Get the name.- Specified by:
- getNamein interface- IExtensionInfo
- Returns:
- the name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 
- 
 
-