xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.versions
Interface IVersionsContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
VersionsContext

public interface IVersionsContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IArchVersions createArchVersions()
          Create an IArchVersions object in this namespace.
 IArchVersions createArchVersionsElement()
          Create a top-level element of type IArchVersions.
 IComponentTypeVersionGraph createComponentTypeVersionGraph()
          Create an IComponentTypeVersionGraph object in this namespace.
 IConnectorTypeVersionGraph createConnectorTypeVersionGraph()
          Create an IConnectorTypeVersionGraph object in this namespace.
 IDescription createDescription()
          Create an edu.uci.isr.xarch.instance.IDescription object in this namespace.
 IInterfaceTypeImplVers createInterfaceTypeImplVers()
          Create an IInterfaceTypeImplVers object in this namespace.
 IInterfaceTypeVersionGraph createInterfaceTypeVersionGraph()
          Create an IInterfaceTypeVersionGraph object in this namespace.
 INode createNode()
          Create an INode object in this namespace.
 IVariantComponentTypeImplVers createVariantComponentTypeImplVers()
          Create an IVariantComponentTypeImplVers object in this namespace.
 IVariantConnectorTypeImplVers createVariantConnectorTypeImplVers()
          Create an IVariantConnectorTypeImplVers object in this namespace.
 IVersionID createVersionID()
          Create an IVersionID object in this namespace.
 IXMLLink createXMLLink()
          Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace.
 Collection getAllArchVersionss(IXArch xArch)
          Gets all the IArchVersions children from the given IXArch element.
 IArchVersions getArchVersions(IXArch xArch)
          Gets the IArchVersions child from the given IXArch element.
 IInterfaceTypeImplVers promoteToInterfaceTypeImplVers(IInterfaceTypeImpl value)
          Promote an object of type edu.uci.isr.xarch.implementation.IInterfaceTypeImpl to one of type IInterfaceTypeImplVers.
 IVariantComponentTypeImplVers promoteToVariantComponentTypeImplVers(IVariantComponentTypeImpl value)
          Promote an object of type edu.uci.isr.xarch.implementation.IVariantComponentTypeImpl to one of type IVariantComponentTypeImplVers.
 IVariantConnectorTypeImplVers promoteToVariantConnectorTypeImplVers(IVariantConnectorTypeImpl value)
          Promote an object of type edu.uci.isr.xarch.implementation.IVariantConnectorTypeImpl to one of type IVariantConnectorTypeImplVers.
 IArchVersions recontextualizeArchVersions(IArchVersions value)
          Brings an IArchVersions object created in another context into this context.
 IComponentTypeVersionGraph recontextualizeComponentTypeVersionGraph(IComponentTypeVersionGraph value)
          Brings an IComponentTypeVersionGraph object created in another context into this context.
 IConnectorTypeVersionGraph recontextualizeConnectorTypeVersionGraph(IConnectorTypeVersionGraph value)
          Brings an IConnectorTypeVersionGraph object created in another context into this context.
 IDescription recontextualizeDescription(IDescription value)
          Brings an edu.uci.isr.xarch.instance.IDescription object created in another context into this context.
 IInterfaceTypeImplVers recontextualizeInterfaceTypeImplVers(IInterfaceTypeImplVers value)
          Brings an IInterfaceTypeImplVers object created in another context into this context.
 IInterfaceTypeVersionGraph recontextualizeInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph value)
          Brings an IInterfaceTypeVersionGraph object created in another context into this context.
 INode recontextualizeNode(INode value)
          Brings an INode object created in another context into this context.
 IVariantComponentTypeImplVers recontextualizeVariantComponentTypeImplVers(IVariantComponentTypeImplVers value)
          Brings an IVariantComponentTypeImplVers object created in another context into this context.
 IVariantConnectorTypeImplVers recontextualizeVariantConnectorTypeImplVers(IVariantConnectorTypeImplVers value)
          Brings an IVariantConnectorTypeImplVers object created in another context into this context.
 IVersionID recontextualizeVersionID(IVersionID value)
          Brings an IVersionID object created in another context into this context.
 IXMLLink recontextualizeXMLLink(IXMLLink value)
          Brings an edu.uci.isr.xarch.instance.IXMLLink 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

createVersionID

public IVersionID createVersionID()
Create an IVersionID object in this namespace.

Returns:
New IVersionID object.

recontextualizeVersionID

public IVersionID recontextualizeVersionID(IVersionID value)
Brings an IVersionID object created in another context into this context.

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

createNode

public INode createNode()
Create an INode object in this namespace.

Returns:
New INode object.

recontextualizeNode

public INode recontextualizeNode(INode value)
Brings an INode object created in another context into this context.

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

createXMLLink

public IXMLLink createXMLLink()
Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace.

Returns:
New edu.uci.isr.xarch.instance.IXMLLink object.

recontextualizeXMLLink

public IXMLLink recontextualizeXMLLink(IXMLLink value)
Brings an edu.uci.isr.xarch.instance.IXMLLink object created in another context into this context.

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

createComponentTypeVersionGraph

public IComponentTypeVersionGraph createComponentTypeVersionGraph()
Create an IComponentTypeVersionGraph object in this namespace.

Returns:
New IComponentTypeVersionGraph object.

recontextualizeComponentTypeVersionGraph

public IComponentTypeVersionGraph recontextualizeComponentTypeVersionGraph(IComponentTypeVersionGraph value)
Brings an IComponentTypeVersionGraph object created in another context into this context.

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

createDescription

public IDescription createDescription()
Create an edu.uci.isr.xarch.instance.IDescription object in this namespace.

Returns:
New edu.uci.isr.xarch.instance.IDescription object.

recontextualizeDescription

public IDescription recontextualizeDescription(IDescription value)
Brings an edu.uci.isr.xarch.instance.IDescription object created in another context into this context.

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

createConnectorTypeVersionGraph

public IConnectorTypeVersionGraph createConnectorTypeVersionGraph()
Create an IConnectorTypeVersionGraph object in this namespace.

Returns:
New IConnectorTypeVersionGraph object.

recontextualizeConnectorTypeVersionGraph

public IConnectorTypeVersionGraph recontextualizeConnectorTypeVersionGraph(IConnectorTypeVersionGraph value)
Brings an IConnectorTypeVersionGraph object created in another context into this context.

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

createInterfaceTypeVersionGraph

public IInterfaceTypeVersionGraph createInterfaceTypeVersionGraph()
Create an IInterfaceTypeVersionGraph object in this namespace.

Returns:
New IInterfaceTypeVersionGraph object.

recontextualizeInterfaceTypeVersionGraph

public IInterfaceTypeVersionGraph recontextualizeInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph value)
Brings an IInterfaceTypeVersionGraph object created in another context into this context.

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

createArchVersions

public IArchVersions createArchVersions()
Create an IArchVersions object in this namespace.

Returns:
New IArchVersions object.

recontextualizeArchVersions

public IArchVersions recontextualizeArchVersions(IArchVersions value)
Brings an IArchVersions object created in another context into this context.

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

createVariantComponentTypeImplVers

public IVariantComponentTypeImplVers createVariantComponentTypeImplVers()
Create an IVariantComponentTypeImplVers object in this namespace.

Returns:
New IVariantComponentTypeImplVers object.

recontextualizeVariantComponentTypeImplVers

public IVariantComponentTypeImplVers recontextualizeVariantComponentTypeImplVers(IVariantComponentTypeImplVers value)
Brings an IVariantComponentTypeImplVers object created in another context into this context.

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

promoteToVariantComponentTypeImplVers

public IVariantComponentTypeImplVers promoteToVariantComponentTypeImplVers(IVariantComponentTypeImpl value)
Promote an object of type edu.uci.isr.xarch.implementation.IVariantComponentTypeImpl to one of type IVariantComponentTypeImplVers. 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.implementation.IVariantComponentTypeImpl 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.

createVariantConnectorTypeImplVers

public IVariantConnectorTypeImplVers createVariantConnectorTypeImplVers()
Create an IVariantConnectorTypeImplVers object in this namespace.

Returns:
New IVariantConnectorTypeImplVers object.

recontextualizeVariantConnectorTypeImplVers

public IVariantConnectorTypeImplVers recontextualizeVariantConnectorTypeImplVers(IVariantConnectorTypeImplVers value)
Brings an IVariantConnectorTypeImplVers object created in another context into this context.

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

promoteToVariantConnectorTypeImplVers

public IVariantConnectorTypeImplVers promoteToVariantConnectorTypeImplVers(IVariantConnectorTypeImpl value)
Promote an object of type edu.uci.isr.xarch.implementation.IVariantConnectorTypeImpl to one of type IVariantConnectorTypeImplVers. 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.implementation.IVariantConnectorTypeImpl 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.

createInterfaceTypeImplVers

public IInterfaceTypeImplVers createInterfaceTypeImplVers()
Create an IInterfaceTypeImplVers object in this namespace.

Returns:
New IInterfaceTypeImplVers object.

recontextualizeInterfaceTypeImplVers

public IInterfaceTypeImplVers recontextualizeInterfaceTypeImplVers(IInterfaceTypeImplVers value)
Brings an IInterfaceTypeImplVers object created in another context into this context.

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

promoteToInterfaceTypeImplVers

public IInterfaceTypeImplVers promoteToInterfaceTypeImplVers(IInterfaceTypeImpl value)
Promote an object of type edu.uci.isr.xarch.implementation.IInterfaceTypeImpl to one of type IInterfaceTypeImplVers. 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.implementation.IInterfaceTypeImpl 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.

createArchVersionsElement

public IArchVersions createArchVersionsElement()
Create a top-level element of type IArchVersions. This function should be used in lieu of createArchVersions if the element is to be added as a sub-object of IXArch.

Returns:
new IArchVersions suitable for adding as a child of xArch.

getArchVersions

public IArchVersions getArchVersions(IXArch xArch)
Gets the IArchVersions child from the given IXArch element. If there are multiple matching children, this returns the first one.

Parameters:
xArch - IXArch object from which to get the child.
Returns:
IArchVersions that is the child of xArch or null if no such object exists.

getAllArchVersionss

public Collection getAllArchVersionss(IXArch xArch)
Gets all the IArchVersions children from the given IXArch element.

Parameters:
xArch - IXArch object from which to get the children.
Returns:
Collection of IArchVersions that are the children of xArch or an empty collection if no such object exists.

xArch/xADL 2.0 Data Binding Library