public class MEnvSpaceInstance
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The space name.
|
protected MultiCollection<java.lang.String,java.lang.Object> |
properties
The properties.
|
protected MEnvSpaceType |
spacetype
The space type (resolved during loading).
|
protected java.lang.String |
type
The space type name.
|
Constructor and Description |
---|
MEnvSpaceInstance() |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(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.String |
getName()
Get the name.
|
java.util.Map |
getProperties()
Get the properties.
|
java.lang.Object |
getProperty(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.
|
MEnvSpaceType |
getType()
Get the type of this element.
|
java.lang.String |
getTypeName()
Get the type name.
|
void |
setName(java.lang.String name)
Set the name.
|
void |
setType(MEnvSpaceType spacetype)
Set the type of this element.
|
void |
setTypeName(java.lang.String type)
Set the type name.
|
protected java.lang.String name
protected java.lang.String type
protected MEnvSpaceType spacetype
protected MultiCollection<java.lang.String,java.lang.Object> properties
public IFuture<IExtensionInstance> createInstance(IExternalAccess access, IValueFetcher fetcher)
access
- The external access of the component.fetcher
- The value fetcher of the component to be used for evaluating dynamic expressions.public void addProperty(java.lang.String key, java.lang.Object value)
key
- The key.value
- The value.public java.util.List<java.lang.Object> getPropertyList(java.lang.String key)
key
- The key.public java.util.Map getProperties()
public java.lang.Object getProperty(java.lang.String name)
map
- The map.name
- The name.public java.lang.String getTypeName()
public void setTypeName(java.lang.String type)
type
- The type name to set.public MEnvSpaceType getType()
public void setType(MEnvSpaceType spacetype)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.