xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.menage
Interface IMenageContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
MenageContext

public interface IMenageContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IOptionalComponentPosition createOptionalComponentPosition()
          Create an IOptionalComponentPosition object in this namespace.
 IOptionalConnectorPosition createOptionalConnectorPosition()
          Create an IOptionalConnectorPosition object in this namespace.
 IOptionalInterfacePosition createOptionalInterfacePosition()
          Create an IOptionalInterfacePosition object in this namespace.
 IOptionalSignaturePosition createOptionalSignaturePosition()
          Create an IOptionalSignaturePosition object in this namespace.
 IPosition createPosition()
          Create an IPosition object in this namespace.
 IOptionalComponentPosition promoteToOptionalComponentPosition(IOptionalComponent value)
          Promote an object of type edu.uci.isr.xarch.options.IOptionalComponent to one of type IOptionalComponentPosition.
 IOptionalConnectorPosition promoteToOptionalConnectorPosition(IOptionalConnector value)
          Promote an object of type edu.uci.isr.xarch.options.IOptionalConnector to one of type IOptionalConnectorPosition.
 IOptionalInterfacePosition promoteToOptionalInterfacePosition(IOptionalInterface value)
          Promote an object of type edu.uci.isr.xarch.options.IOptionalInterface to one of type IOptionalInterfacePosition.
 IOptionalSignaturePosition promoteToOptionalSignaturePosition(IOptionalSignature value)
          Promote an object of type edu.uci.isr.xarch.options.IOptionalSignature to one of type IOptionalSignaturePosition.
 IOptionalComponentPosition recontextualizeOptionalComponentPosition(IOptionalComponentPosition value)
          Brings an IOptionalComponentPosition object created in another context into this context.
 IOptionalConnectorPosition recontextualizeOptionalConnectorPosition(IOptionalConnectorPosition value)
          Brings an IOptionalConnectorPosition object created in another context into this context.
 IOptionalInterfacePosition recontextualizeOptionalInterfacePosition(IOptionalInterfacePosition value)
          Brings an IOptionalInterfacePosition object created in another context into this context.
 IOptionalSignaturePosition recontextualizeOptionalSignaturePosition(IOptionalSignaturePosition value)
          Brings an IOptionalSignaturePosition object created in another context into this context.
 IPosition recontextualizePosition(IPosition value)
          Brings an IPosition 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

createPosition

public IPosition createPosition()
Create an IPosition object in this namespace.

Returns:
New IPosition object.

recontextualizePosition

public IPosition recontextualizePosition(IPosition value)
Brings an IPosition object created in another context into this context.

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

createOptionalComponentPosition

public IOptionalComponentPosition createOptionalComponentPosition()
Create an IOptionalComponentPosition object in this namespace.

Returns:
New IOptionalComponentPosition object.

recontextualizeOptionalComponentPosition

public IOptionalComponentPosition recontextualizeOptionalComponentPosition(IOptionalComponentPosition value)
Brings an IOptionalComponentPosition object created in another context into this context.

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

promoteToOptionalComponentPosition

public IOptionalComponentPosition promoteToOptionalComponentPosition(IOptionalComponent value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalComponent to one of type IOptionalComponentPosition. 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.options.IOptionalComponent 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.

createOptionalConnectorPosition

public IOptionalConnectorPosition createOptionalConnectorPosition()
Create an IOptionalConnectorPosition object in this namespace.

Returns:
New IOptionalConnectorPosition object.

recontextualizeOptionalConnectorPosition

public IOptionalConnectorPosition recontextualizeOptionalConnectorPosition(IOptionalConnectorPosition value)
Brings an IOptionalConnectorPosition object created in another context into this context.

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

promoteToOptionalConnectorPosition

public IOptionalConnectorPosition promoteToOptionalConnectorPosition(IOptionalConnector value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalConnector to one of type IOptionalConnectorPosition. 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.options.IOptionalConnector 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.

createOptionalInterfacePosition

public IOptionalInterfacePosition createOptionalInterfacePosition()
Create an IOptionalInterfacePosition object in this namespace.

Returns:
New IOptionalInterfacePosition object.

recontextualizeOptionalInterfacePosition

public IOptionalInterfacePosition recontextualizeOptionalInterfacePosition(IOptionalInterfacePosition value)
Brings an IOptionalInterfacePosition object created in another context into this context.

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

promoteToOptionalInterfacePosition

public IOptionalInterfacePosition promoteToOptionalInterfacePosition(IOptionalInterface value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalInterface to one of type IOptionalInterfacePosition. 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.options.IOptionalInterface 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.

createOptionalSignaturePosition

public IOptionalSignaturePosition createOptionalSignaturePosition()
Create an IOptionalSignaturePosition object in this namespace.

Returns:
New IOptionalSignaturePosition object.

recontextualizeOptionalSignaturePosition

public IOptionalSignaturePosition recontextualizeOptionalSignaturePosition(IOptionalSignaturePosition value)
Brings an IOptionalSignaturePosition object created in another context into this context.

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

promoteToOptionalSignaturePosition

public IOptionalSignaturePosition promoteToOptionalSignaturePosition(IOptionalSignature value)
Promote an object of type edu.uci.isr.xarch.options.IOptionalSignature to one of type IOptionalSignaturePosition. 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.options.IOptionalSignature 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