Class MEnvSpaceInstance

  • All Implemented Interfaces:
    IExtensionInfo

    public class MEnvSpaceInstance
    extends java.lang.Object
    implements IExtensionInfo
    Configuration of an Env space.
    • Field Detail

      • name

        protected java.lang.String name
        The space name.
      • type

        protected java.lang.String type
        The space type name.
      • spacetype

        protected MEnvSpaceType spacetype
        The space type (resolved during loading).
      • properties

        protected MultiCollection<java.lang.String,​java.lang.Object> properties
        The properties.
    • Constructor Detail

      • MEnvSpaceInstance

        public MEnvSpaceInstance()
    • Method Detail

      • createInstance

        public IFuture<IExtensionInstance> createInstance​(IExternalAccess access,
                                                          IValueFetcher fetcher)
        Instantiate the extension for a specific component instance.
        Specified by:
        createInstance in 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.
      • addProperty

        public void addProperty​(java.lang.String key,
                                java.lang.Object value)
        Add a property.
        Parameters:
        key - The key.
        value - The value.
      • getPropertyList

        public java.util.List<java.lang.Object> getPropertyList​(java.lang.String key)
        Get a property.
        Parameters:
        key - The key.
        Returns:
        The value.
      • getProperties

        public java.util.Map getProperties()
        Get the properties.
        Returns:
        The properties.
      • getProperty

        public 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.
      • getTypeName

        public java.lang.String getTypeName()
        Get the type name.
        Returns:
        The type name.
      • setTypeName

        public void setTypeName​(java.lang.String type)
        Set the type name.
        Parameters:
        type - The type name to set.
      • getType

        public MEnvSpaceType getType()
        Get the type of this element.
        Returns:
        The structure type.
      • setType

        public void setType​(MEnvSpaceType spacetype)
        Set the type of this element.
      • getName

        public java.lang.String getName()
        Get the name.
        Specified by:
        getName in interface IExtensionInfo
        Returns:
        the name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.