org.eclipse.stardust.engine.api.model
Interface ApplicationContext

All Superinterfaces:
ModelElement, Serializable

public interface ApplicationContext
extends ModelElement

The ApplicationContext represents the execution context of an activity.

An activity may have multiple execution context, depending on the implementation type.

Version:
$Revision$
Author:
ubirkemeyer

Method Summary
 AccessPoint getAccessPoint(String id)
          Gets the specified access point.
 List getAllAccessPoints()
          Gets all access points defined for this application context.
 List getAllDataMappings()
          Gets all data mappings defined for this application context.
 List getAllInDataMappings()
          Gets all IN data mappings defined for this application context.
 List getAllOutDataMappings()
          Gets all OUT data mappings defined for this application context.
 Map getAllTypeAttributes()
          Gets all the attributes defined for this application context type.
 DataMapping getDataMapping(org.eclipse.stardust.common.Direction direction, String id)
          Gets a specified data mapping.
 Object getTypeAttribute(String name)
          Gets the specified type attribute.
 
Methods inherited from interface org.eclipse.stardust.engine.api.model.ModelElement
getAllAttributes, getAttribute, getDescription, getElementOID, getId, getModelOID, getName, getNamespace, getPartitionId, getPartitionOID, getQualifiedId
 

Method Detail

getAllDataMappings

List getAllDataMappings()
Gets all data mappings defined for this application context.

Returns:
the List of all DataMapping objects.

getAllInDataMappings

List getAllInDataMappings()
Gets all IN data mappings defined for this application context.

Returns:
a List containing all IN data mappings

getAllOutDataMappings

List getAllOutDataMappings()
Gets all OUT data mappings defined for this application context.

Returns:
a List containing all OUT data mappings

getDataMapping

DataMapping getDataMapping(org.eclipse.stardust.common.Direction direction,
                           String id)
Gets a specified data mapping. A data mapping has a unique id in the context of the application context and direction.

Parameters:
direction - the direction of the data mapping.
id - the id of the data mapping.
Returns:
the requested data mapping.

getAllAccessPoints

List getAllAccessPoints()
Gets all access points defined for this application context.

Returns:
a List with all access points.
See Also:
AccessPoint

getAccessPoint

AccessPoint getAccessPoint(String id)
Gets the specified access point.

Parameters:
id - the id of the access point to retrieve.
Returns:
the requested access point.

getAllTypeAttributes

Map getAllTypeAttributes()
Gets all the attributes defined for this application context type.

Returns:
a Map with all the type attributes.

getTypeAttribute

Object getTypeAttribute(String name)
Gets the specified type attribute.

Parameters:
name - the name of the type attribute.
Returns:
the value of the type attribute.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.