xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.implementation
Interface IImplementationContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
ImplementationContext

public interface IImplementationContext
extends IXArchContext

The context interface for the implementation package. This interface is used to create objects that are used in the implementation namespace.

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IImplementation createImplementation()
          Create an IImplementation object in this namespace.
 IInterfaceTypeImpl createInterfaceTypeImpl()
          Create an IInterfaceTypeImpl object in this namespace.
 IVariantComponentTypeImpl createVariantComponentTypeImpl()
          Create an IVariantComponentTypeImpl object in this namespace.
 IVariantConnectorTypeImpl createVariantConnectorTypeImpl()
          Create an IVariantConnectorTypeImpl object in this namespace.
 IInterfaceTypeImpl promoteToInterfaceTypeImpl(IInterfaceType value)
          Promote an object of type edu.uci.isr.xarch.types.IInterfaceType to one of type IInterfaceTypeImpl.
 IVariantComponentTypeImpl promoteToVariantComponentTypeImpl(IVariantComponentType value)
          Promote an object of type edu.uci.isr.xarch.variants.IVariantComponentType to one of type IVariantComponentTypeImpl.
 IVariantConnectorTypeImpl promoteToVariantConnectorTypeImpl(IVariantConnectorType value)
          Promote an object of type edu.uci.isr.xarch.variants.IVariantConnectorType to one of type IVariantConnectorTypeImpl.
 IImplementation recontextualizeImplementation(IImplementation value)
          Brings an IImplementation object created in another context into this context.
 IInterfaceTypeImpl recontextualizeInterfaceTypeImpl(IInterfaceTypeImpl value)
          Brings an IInterfaceTypeImpl object created in another context into this context.
 IVariantComponentTypeImpl recontextualizeVariantComponentTypeImpl(IVariantComponentTypeImpl value)
          Brings an IVariantComponentTypeImpl object created in another context into this context.
 IVariantConnectorTypeImpl recontextualizeVariantConnectorTypeImpl(IVariantConnectorTypeImpl value)
          Brings an IVariantConnectorTypeImpl object created in another context into this context.
 
Methods inherited from interface edu.uci.isr.xarch.IXArchContext
getTypeMetadata, getXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

createImplementation

public IImplementation createImplementation()
Create an IImplementation object in this namespace.

Returns:
New IImplementation object.

recontextualizeImplementation

public IImplementation recontextualizeImplementation(IImplementation value)
Brings an IImplementation object created in another context into this context.

Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createVariantComponentTypeImpl

public IVariantComponentTypeImpl createVariantComponentTypeImpl()
Create an IVariantComponentTypeImpl object in this namespace.

Returns:
New IVariantComponentTypeImpl object.

recontextualizeVariantComponentTypeImpl

public IVariantComponentTypeImpl recontextualizeVariantComponentTypeImpl(IVariantComponentTypeImpl value)
Brings an IVariantComponentTypeImpl object created in another context into this context.

Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

promoteToVariantComponentTypeImpl

public IVariantComponentTypeImpl promoteToVariantComponentTypeImpl(IVariantComponentType value)
Promote an object of type edu.uci.isr.xarch.variants.IVariantComponentType to one of type IVariantComponentTypeImpl. xArch APIs are structured in such a way that a regular cast is not possible to change interface types, so casting must be done through these promotion functions. If the edu.uci.isr.xarch.variants.IVariantComponentType object wraps a DOM element that is the base type, then the xsi:type of the base element is promoted. Otherwise, it is left unchanged. This function also emits an XArchEvent with type PROMOTE_TYPE. The source for this events is the pre-promoted IXArchElement object (should no longer be used), and the target is the post-promotion object. The target name is the name of the interface class that was the target of the promotion.

Parameters:
value - Object to promote.
Returns:
Promoted object.

createVariantConnectorTypeImpl

public IVariantConnectorTypeImpl createVariantConnectorTypeImpl()
Create an IVariantConnectorTypeImpl object in this namespace.

Returns:
New IVariantConnectorTypeImpl object.

recontextualizeVariantConnectorTypeImpl

public IVariantConnectorTypeImpl recontextualizeVariantConnectorTypeImpl(IVariantConnectorTypeImpl value)
Brings an IVariantConnectorTypeImpl object created in another context into this context.

Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

promoteToVariantConnectorTypeImpl

public IVariantConnectorTypeImpl promoteToVariantConnectorTypeImpl(IVariantConnectorType value)
Promote an object of type edu.uci.isr.xarch.variants.IVariantConnectorType to one of type IVariantConnectorTypeImpl. xArch APIs are structured in such a way that a regular cast is not possible to change interface types, so casting must be done through these promotion functions. If the edu.uci.isr.xarch.variants.IVariantConnectorType object wraps a DOM element that is the base type, then the xsi:type of the base element is promoted. Otherwise, it is left unchanged. This function also emits an XArchEvent with type PROMOTE_TYPE. The source for this events is the pre-promoted IXArchElement object (should no longer be used), and the target is the post-promotion object. The target name is the name of the interface class that was the target of the promotion.

Parameters:
value - Object to promote.
Returns:
Promoted object.

createInterfaceTypeImpl

public IInterfaceTypeImpl createInterfaceTypeImpl()
Create an IInterfaceTypeImpl object in this namespace.

Returns:
New IInterfaceTypeImpl object.

recontextualizeInterfaceTypeImpl

public IInterfaceTypeImpl recontextualizeInterfaceTypeImpl(IInterfaceTypeImpl value)
Brings an IInterfaceTypeImpl object created in another context into this context.

Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

promoteToInterfaceTypeImpl

public IInterfaceTypeImpl promoteToInterfaceTypeImpl(IInterfaceType value)
Promote an object of type edu.uci.isr.xarch.types.IInterfaceType to one of type IInterfaceTypeImpl. xArch APIs are structured in such a way that a regular cast is not possible to change interface types, so casting must be done through these promotion functions. If the edu.uci.isr.xarch.types.IInterfaceType object wraps a DOM element that is the base type, then the xsi:type of the base element is promoted. Otherwise, it is left unchanged. This function also emits an XArchEvent with type PROMOTE_TYPE. The source for this events is the pre-promoted IXArchElement object (should no longer be used), and the target is the post-promotion object. The target name is the name of the interface class that was the target of the promotion.

Parameters:
value - Object to promote.
Returns:
Promoted object.

xArch/xADL 2.0 Data Binding Library