Package jadex.extension.envsupport
Class MEnvSpaceType
- java.lang.Object
- 
- jadex.extension.envsupport.MEnvSpaceType
 
- 
 public class MEnvSpaceType extends java.lang.ObjectJava representation of environment space type for xml description.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMEnvSpaceType.ClassConverterParse class names.
 - 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringclassnameThe class name.protected java.lang.StringnameThe name.static java.lang.StringOBJECTPLACEMENT_BORDERThe border object placement.static java.lang.StringOBJECTPLACEMENT_CENTERThe center object placement.protected MultiCollection<java.lang.String,java.lang.Object>propertiesThe properties.protected static java.util.Set<jadex.xml.TypeInfo>TYPES
 - 
Constructor SummaryConstructors Constructor Description MEnvSpaceType()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(java.lang.String key, java.lang.Object value)Add a property.static java.util.MapconvertProperties(java.util.List properties, IValueFetcher fetcher)Set properties on a map.java.lang.StringgetClassName()Get the classname.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.static java.lang.ObjectgetProperty(java.util.Map map, java.lang.String name)Get a property from a (multi)map.java.util.ListgetPropertyList(java.lang.String key)Get a property.static java.util.SetgetXMLMapping()Get the XML mapping.protected static voidreportError(jadex.xml.IContext context, java.lang.String error)Report an error including the line and column.voidsetClassName(java.lang.String classname)Set the classname.voidsetName(java.lang.String name)static voidsetProperties(IPropertyObject object, java.util.List properties, IValueFetcher fetcher)Set properties on a IPropertyObject.
 
- 
- 
- 
Field Detail- 
OBJECTPLACEMENT_BORDERpublic static final java.lang.String OBJECTPLACEMENT_BORDER The border object placement.- See Also:
- Constant Field Values
 
 - 
OBJECTPLACEMENT_CENTERpublic static final java.lang.String OBJECTPLACEMENT_CENTER The center object placement.- See Also:
- Constant Field Values
 
 - 
nameprotected java.lang.String name The name.
 - 
classnameprotected java.lang.String classname The class name.
 - 
propertiesprotected MultiCollection<java.lang.String,java.lang.Object> properties The properties.
 - 
TYPESprotected static final java.util.Set<jadex.xml.TypeInfo> TYPES 
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name.
 
 - 
setNamepublic void setName(java.lang.String name) - Parameters:
- name- The name to set.
 
 - 
getClassNamepublic java.lang.String getClassName() Get the classname.- Returns:
- the classname.
 
 - 
setClassNamepublic void setClassName(java.lang.String classname) Set the classname.- Parameters:
- classname- The classname to set.
 
 - 
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 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.
 
 - 
getXMLMappingpublic static java.util.Set getXMLMapping() Get the XML mapping.
 - 
reportErrorprotected static void reportError(jadex.xml.IContext context, java.lang.String error)Report an error including the line and column.
 - 
setPropertiespublic static void setProperties(IPropertyObject object, java.util.List properties, IValueFetcher fetcher) Set properties on a IPropertyObject.- Parameters:
- object- The IPropertyObject.
- properties- A list properties (containing maps with "name", "value" keys).
- fetcher- The fetcher for parsing the Java expression (can provide predefined values to the expression)
 
 - 
convertPropertiespublic static java.util.Map convertProperties(java.util.List properties, IValueFetcher fetcher)Set properties on a map.- Parameters:
- properties- A list properties (containing maps with "name", "value" keys).
- fetcher- The fetcher for parsing the Java expression (can provide predefined values to the expression)
 
 - 
getPropertypublic static java.lang.Object getProperty(java.util.Map map, java.lang.String name)Get a property from a (multi)map.- Parameters:
- map- The map.
- name- The name.
- Returns:
- The property.
 
 
- 
 
-