jadex.application.space.envsupport
Class MEnvSpaceType

java.lang.Object
  extended by jadex.application.model.MSpaceType
      extended by jadex.application.space.envsupport.MEnvSpaceType

public class MEnvSpaceType
extends MSpaceType

Java representation of environment space type for xml description.


Field Summary
static String OBJECTPLACEMENT_BORDER
          The border object placement.
static String OBJECTPLACEMENT_CENTER
          The center object placement.
protected  Map properties
          The properties.
 
Fields inherited from class jadex.application.model.MSpaceType
name
 
Constructor Summary
MEnvSpaceType()
           
 
Method Summary
 void addProperty(String key, Object value)
          Add a property.
 Map getProperties()
          Get the properties.
 Object getProperty(String name)
          Get a property from a (multi)map.
 List getPropertyList(String key)
          Get a property.
static Set getXMLMapping()
          Get the XML mapping.
protected static void reportError(IContext context, String error)
          Report an error including the line and column.
 
Methods inherited from class jadex.application.model.MSpaceType
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECTPLACEMENT_BORDER

public static final String OBJECTPLACEMENT_BORDER
The border object placement.

See Also:
Constant Field Values

OBJECTPLACEMENT_CENTER

public static final String OBJECTPLACEMENT_CENTER
The center object placement.

See Also:
Constant Field Values

properties

protected Map properties
The properties.

Constructor Detail

MEnvSpaceType

public MEnvSpaceType()
Method Detail

addProperty

public void addProperty(String key,
                        Object value)
Add a property.

Parameters:
key - The key.
value - The value.

getPropertyList

public List getPropertyList(String key)
Get a property.

Parameters:
key - The key.
Returns:
The value.

getProperties

public Map getProperties()
Get the properties.

Returns:
The properties.

getProperty

public Object getProperty(String name)
Get a property from a (multi)map.

Parameters:
map - The map.
name - The name.
Returns:
The property.

getXMLMapping

public static Set getXMLMapping()
Get the XML mapping.


reportError

protected static void reportError(IContext context,
                                  String error)
Report an error including the line and column.



Copyright © 2010. All Rights Reserved.