|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The context interface for the versions package. This interface is used to create objects that are used in the versions namespace.
| 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 |
public static final XArchTypeMetadata TYPE_METADATA
| Method Detail |
public IVersionID createVersionID()
public IVersionID recontextualizeVersionID(IVersionID value)
value - Object to recontextualize.
value object in this namespace.public INode createNode()
public INode recontextualizeNode(INode value)
value - Object to recontextualize.
value object in this namespace.public IXMLLink createXMLLink()
public IXMLLink recontextualizeXMLLink(IXMLLink value)
value - Object to recontextualize.
value object in this namespace.public IComponentTypeVersionGraph createComponentTypeVersionGraph()
public IComponentTypeVersionGraph recontextualizeComponentTypeVersionGraph(IComponentTypeVersionGraph value)
value - Object to recontextualize.
value object in this namespace.public IDescription createDescription()
public IDescription recontextualizeDescription(IDescription value)
value - Object to recontextualize.
value object in this namespace.public IConnectorTypeVersionGraph createConnectorTypeVersionGraph()
public IConnectorTypeVersionGraph recontextualizeConnectorTypeVersionGraph(IConnectorTypeVersionGraph value)
value - Object to recontextualize.
value object in this namespace.public IInterfaceTypeVersionGraph createInterfaceTypeVersionGraph()
public IInterfaceTypeVersionGraph recontextualizeInterfaceTypeVersionGraph(IInterfaceTypeVersionGraph value)
value - Object to recontextualize.
value object in this namespace.public IArchVersions createArchVersions()
public IArchVersions recontextualizeArchVersions(IArchVersions value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImplVers createVariantComponentTypeImplVers()
public IVariantComponentTypeImplVers recontextualizeVariantComponentTypeImplVers(IVariantComponentTypeImplVers value)
value - Object to recontextualize.
value object in this namespace.public IVariantComponentTypeImplVers promoteToVariantComponentTypeImplVers(IVariantComponentTypeImpl value)
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.
value - Object to promote.
public IVariantConnectorTypeImplVers createVariantConnectorTypeImplVers()
public IVariantConnectorTypeImplVers recontextualizeVariantConnectorTypeImplVers(IVariantConnectorTypeImplVers value)
value - Object to recontextualize.
value object in this namespace.public IVariantConnectorTypeImplVers promoteToVariantConnectorTypeImplVers(IVariantConnectorTypeImpl value)
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.
value - Object to promote.
public IInterfaceTypeImplVers createInterfaceTypeImplVers()
public IInterfaceTypeImplVers recontextualizeInterfaceTypeImplVers(IInterfaceTypeImplVers value)
value - Object to recontextualize.
value object in this namespace.public IInterfaceTypeImplVers promoteToInterfaceTypeImplVers(IInterfaceTypeImpl value)
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.
value - Object to promote.
public IArchVersions createArchVersionsElement()
IArchVersions.
This function should be used in lieu of createArchVersions
if the element is to be added as a sub-object of IXArch.
public IArchVersions getArchVersions(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
xArch - IXArch object from which to get the child.
IArchVersions that is the child
of xArch or null if no such object exists.public Collection getAllArchVersionss(IXArch xArch)
IXArch element.
xArch - IXArch object from which to get the children.
IArchVersions that are
the children of xArch or an empty collection if no such object exists.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||