xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.options
Interface IOptionsContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
OptionsContext

public interface IOptionsContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IGuard createGuard()
          Create an IGuard object in this namespace.
 IOptional createOptional()
          Create an IOptional object in this namespace.
 IOptionalComponent createOptionalComponent()
          Create an IOptionalComponent object in this namespace.
 IOptionalConnector createOptionalConnector()
          Create an IOptionalConnector object in this namespace.
 IOptionalInterface createOptionalInterface()
          Create an IOptionalInterface object in this namespace.
 IOptionalLink createOptionalLink()
          Create an IOptionalLink object in this namespace.
 IOptionalSignature createOptionalSignature()
          Create an IOptionalSignature object in this namespace.
 IOptionalSignatureInterfaceMapping createOptionalSignatureInterfaceMapping()
          Create an IOptionalSignatureInterfaceMapping object in this namespace.
 IOptionalComponent promoteToOptionalComponent(IComponent value)
          Promote an object of type edu.uci.isr.xarch.types.IComponent to one of type IOptionalComponent.
 IOptionalConnector promoteToOptionalConnector(IConnector value)
          Promote an object of type edu.uci.isr.xarch.types.IConnector to one of type IOptionalConnector.
 IOptionalInterface promoteToOptionalInterface(IInterface value)
          Promote an object of type edu.uci.isr.xarch.types.IInterface to one of type IOptionalInterface.
 IOptionalLink promoteToOptionalLink(ILink value)
          Promote an object of type edu.uci.isr.xarch.types.ILink to one of type IOptionalLink.
 IOptionalSignature promoteToOptionalSignature(ISignature value)
          Promote an object of type edu.uci.isr.xarch.types.ISignature to one of type IOptionalSignature.
 IOptionalSignatureInterfaceMapping promoteToOptionalSignatureInterfaceMapping(ISignatureInterfaceMapping value)
          Promote an object of type edu.uci.isr.xarch.types.ISignatureInterfaceMapping to one of type IOptionalSignatureInterfaceMapping.
 IGuard recontextualizeGuard(IGuard value)
          Brings an IGuard object created in another context into this context.
 IOptional recontextualizeOptional(IOptional value)
          Brings an IOptional object created in another context into this context.
 IOptionalComponent recontextualizeOptionalComponent(IOptionalComponent value)
          Brings an IOptionalComponent object created in another context into this context.
 IOptionalConnector recontextualizeOptionalConnector(IOptionalConnector value)
          Brings an IOptionalConnector object created in another context into this context.
 IOptionalInterface recontextualizeOptionalInterface(IOptionalInterface value)
          Brings an IOptionalInterface object created in another context into this context.
 IOptionalLink recontextualizeOptionalLink(IOptionalLink value)
          Brings an IOptionalLink object created in another context into this context.
 IOptionalSignature recontextualizeOptionalSignature(IOptionalSignature value)
          Brings an IOptionalSignature object created in another context into this context.
 IOptionalSignatureInterfaceMapping recontextualizeOptionalSignatureInterfaceMapping(IOptionalSignatureInterfaceMapping value)
          Brings an IOptionalSignatureInterfaceMapping 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

createGuard

public IGuard createGuard()
Create an IGuard object in this namespace.

Returns:
New IGuard object.

recontextualizeGuard

public IGuard recontextualizeGuard(IGuard value)
Brings an IGuard object created in another context into this context.

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

createOptional

public IOptional createOptional()
Create an IOptional object in this namespace.

Returns:
New IOptional object.

recontextualizeOptional

public IOptional recontextualizeOptional(IOptional value)
Brings an IOptional object created in another context into this context.

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

createOptionalComponent

public IOptionalComponent createOptionalComponent()
Create an IOptionalComponent object in this namespace.

Returns:
New IOptionalComponent object.

recontextualizeOptionalComponent

public IOptionalComponent recontextualizeOptionalComponent(IOptionalComponent value)
Brings an IOptionalComponent object created in another context into this context.

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

promoteToOptionalComponent

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

createOptionalConnector

public IOptionalConnector createOptionalConnector()
Create an IOptionalConnector object in this namespace.

Returns:
New IOptionalConnector object.

recontextualizeOptionalConnector

public IOptionalConnector recontextualizeOptionalConnector(IOptionalConnector value)
Brings an IOptionalConnector object created in another context into this context.

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

promoteToOptionalConnector

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

createOptionalLink

public IOptionalLink createOptionalLink()
Create an IOptionalLink object in this namespace.

Returns:
New IOptionalLink object.

recontextualizeOptionalLink

public IOptionalLink recontextualizeOptionalLink(IOptionalLink value)
Brings an IOptionalLink object created in another context into this context.

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

promoteToOptionalLink

public IOptionalLink promoteToOptionalLink(ILink value)
Promote an object of type edu.uci.isr.xarch.types.ILink to one of type IOptionalLink. 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.ILink 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.

createOptionalInterface

public IOptionalInterface createOptionalInterface()
Create an IOptionalInterface object in this namespace.

Returns:
New IOptionalInterface object.

recontextualizeOptionalInterface

public IOptionalInterface recontextualizeOptionalInterface(IOptionalInterface value)
Brings an IOptionalInterface object created in another context into this context.

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

promoteToOptionalInterface

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

createOptionalSignature

public IOptionalSignature createOptionalSignature()
Create an IOptionalSignature object in this namespace.

Returns:
New IOptionalSignature object.

recontextualizeOptionalSignature

public IOptionalSignature recontextualizeOptionalSignature(IOptionalSignature value)
Brings an IOptionalSignature object created in another context into this context.

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

promoteToOptionalSignature

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

createOptionalSignatureInterfaceMapping

public IOptionalSignatureInterfaceMapping createOptionalSignatureInterfaceMapping()
Create an IOptionalSignatureInterfaceMapping object in this namespace.

Returns:
New IOptionalSignatureInterfaceMapping object.

recontextualizeOptionalSignatureInterfaceMapping

public IOptionalSignatureInterfaceMapping recontextualizeOptionalSignatureInterfaceMapping(IOptionalSignatureInterfaceMapping value)
Brings an IOptionalSignatureInterfaceMapping object created in another context into this context.

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

promoteToOptionalSignatureInterfaceMapping

public IOptionalSignatureInterfaceMapping promoteToOptionalSignatureInterfaceMapping(ISignatureInterfaceMapping value)
Promote an object of type edu.uci.isr.xarch.types.ISignatureInterfaceMapping to one of type IOptionalSignatureInterfaceMapping. 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.ISignatureInterfaceMapping 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