com.hammurapi.config
Interface Map

All Superinterfaces:
CommonObject, org.eclipse.emf.ecore.EObject, Factory, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
NamedMap
All Known Implementing Classes:
MapImpl, NamedMapImpl

public interface Map
extends Factory

A representation of the model object 'Map'. Collection of key-value pairs.

The following features are supported:

See Also:
ConfigPackage.getMap()

Method Summary
 org.eclipse.emf.common.util.EList<MapEntry> getEntry()
          Returns the value of the 'Entry' containment reference list.
 String getType()
          Returns the value of the 'Type' attribute.
 boolean isFactoryMap()
          Returns the value of the 'Factory Map' attribute.
 void setFactoryMap(boolean value)
          Sets the value of the 'Factory Map' attribute.
 void setType(String value)
          Sets the value of the 'Type' attribute.
 
Methods inherited from interface com.hammurapi.config.Factory
compile, create, getConfigScript, getDescription, getHomePage, getId, getService, getSource, getSupportedExecutionEnvironments, isEnabled, setConfigScript, setDescription, setEnabled, setHomePage, setId
 
Methods inherited from interface com.hammurapi.party.CommonObject
getRoles
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getEntry

org.eclipse.emf.common.util.EList<MapEntry> getEntry()
Returns the value of the 'Entry' containment reference list. The list contents are of type MapEntry. Map entries.

Returns:
the value of the 'Entry' containment reference list.
See Also:
ConfigPackage.getMap_Entry()

getType

String getType()
Returns the value of the 'Type' attribute. The default value is "java.util.HashMap". Map type. Default is java.util.HashMap.

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), ConfigPackage.getMap_Type()

setType

void setType(String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

isFactoryMap

boolean isFactoryMap()
Returns the value of the 'Factory Map' attribute. If this property is true, then map values will contain factories.

Returns:
the value of the 'Factory Map' attribute.
See Also:
setFactoryMap(boolean), ConfigPackage.getMap_FactoryMap()

setFactoryMap

void setFactoryMap(boolean value)
Sets the value of the 'Factory Map' attribute.

Parameters:
value - the new value of the 'Factory Map' attribute.
See Also:
isFactoryMap()