|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.instance.InstanceContext
The context object for the instance package. This object is used to create objects that are used in the instance namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.instance.IInstanceContext |
TYPE_METADATA |
| Constructor Summary | |
InstanceContext(IXArch xArch)
Create a new InstanceContext for the given IXArch object. |
|
| Method Summary | |
IArchInstance |
createArchInstance()
Create an IArchInstance object in this namespace. |
IArchInstance |
createArchInstanceElement()
Create a top-level element of type IArchInstance. |
IComponentInstance |
createComponentInstance()
Create an IComponentInstance object in this namespace. |
IConnectorInstance |
createConnectorInstance()
Create an IConnectorInstance object in this namespace. |
IDescription |
createDescription()
Create an IDescription object in this namespace. |
IDirection |
createDirection()
Create an IDirection object in this namespace. |
IDirectionSimpleType |
createDirectionSimpleType()
Create an IDirectionSimpleType object in this namespace. |
protected Element |
createElement(String name)
|
IGroup |
createGroup()
Create an IGroup object in this namespace. |
IIdentifier |
createIdentifier()
Create an IIdentifier object in this namespace. |
IInterfaceInstance |
createInterfaceInstance()
Create an IInterfaceInstance object in this namespace. |
IInterfaceInstanceMapping |
createInterfaceInstanceMapping()
Create an IInterfaceInstanceMapping object in this namespace. |
ILinkInstance |
createLinkInstance()
Create an ILinkInstance object in this namespace. |
IPoint |
createPoint()
Create an IPoint object in this namespace. |
ISubArchitecture |
createSubArchitecture()
Create an ISubArchitecture object in this namespace. |
IXMLLink |
createXMLLink()
Create an IXMLLink object in this namespace. |
Collection |
getAllArchInstances(IXArch xArch)
Gets all the IArchInstance children from the given IXArch element. |
IArchInstance |
getArchInstance(IXArch xArch)
Gets the IArchInstance child from the given IXArch
element. |
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
Get the IXArch object that
this context is based upon. |
IArchInstance |
recontextualizeArchInstance(IArchInstance value)
Brings an IArchInstance object created in another context into this context. |
IComponentInstance |
recontextualizeComponentInstance(IComponentInstance value)
Brings an IComponentInstance object created in another context into this context. |
IConnectorInstance |
recontextualizeConnectorInstance(IConnectorInstance value)
Brings an IConnectorInstance object created in another context into this context. |
IDescription |
recontextualizeDescription(IDescription value)
Brings an IDescription object created in another context into this context. |
IDirection |
recontextualizeDirection(IDirection value)
Brings an IDirection object created in another context into this context. |
IDirectionSimpleType |
recontextualizeDirectionSimpleType(IDirectionSimpleType value)
Brings an IDirectionSimpleType object created in another context into this context. |
IGroup |
recontextualizeGroup(IGroup value)
Brings an IGroup object created in another context into this context. |
IIdentifier |
recontextualizeIdentifier(IIdentifier value)
Brings an IIdentifier object created in another context into this context. |
IInterfaceInstance |
recontextualizeInterfaceInstance(IInterfaceInstance value)
Brings an IInterfaceInstance object created in another context into this context. |
IInterfaceInstanceMapping |
recontextualizeInterfaceInstanceMapping(IInterfaceInstanceMapping value)
Brings an IInterfaceInstanceMapping object created in another context into this context. |
ILinkInstance |
recontextualizeLinkInstance(ILinkInstance value)
Brings an ILinkInstance object created in another context into this context. |
IPoint |
recontextualizePoint(IPoint value)
Brings an IPoint object created in another context into this context. |
ISubArchitecture |
recontextualizeSubArchitecture(ISubArchitecture value)
Brings an ISubArchitecture object created in another context into this context. |
IXMLLink |
recontextualizeXMLLink(IXMLLink value)
Brings an IXMLLink object created in another context into this context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String DEFAULT_ELT_NAME
protected Document doc
protected IXArch xArch
| Constructor Detail |
public InstanceContext(IXArch xArch)
xArch - XArch object to contextualize in this namespace.| Method Detail |
public IXArch getXArch()
IXArchContextIXArch object that
this context is based upon.
getXArch in interface IXArchContextIXArch object upon which
this context is based.protected Element createElement(String name)
public XArchTypeMetadata getTypeMetadata()
IXArchContextxsi:type of this element.
getTypeMetadata in interface IXArchContextxsi:type of this element.public IIdentifier createIdentifier()
createIdentifier in interface IInstanceContextpublic IIdentifier recontextualizeIdentifier(IIdentifier value)
recontextualizeIdentifier in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IDirectionSimpleType createDirectionSimpleType()
createDirectionSimpleType in interface IInstanceContextpublic IDirectionSimpleType recontextualizeDirectionSimpleType(IDirectionSimpleType value)
recontextualizeDirectionSimpleType in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IDescription createDescription()
createDescription in interface IInstanceContextpublic IDescription recontextualizeDescription(IDescription value)
recontextualizeDescription in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IDirection createDirection()
createDirection in interface IInstanceContextpublic IDirection recontextualizeDirection(IDirection value)
recontextualizeDirection in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IXMLLink createXMLLink()
createXMLLink in interface IInstanceContextpublic IXMLLink recontextualizeXMLLink(IXMLLink value)
recontextualizeXMLLink in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IInterfaceInstance createInterfaceInstance()
createInterfaceInstance in interface IInstanceContextpublic IInterfaceInstance recontextualizeInterfaceInstance(IInterfaceInstance value)
recontextualizeInterfaceInstance in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IComponentInstance createComponentInstance()
createComponentInstance in interface IInstanceContextpublic IComponentInstance recontextualizeComponentInstance(IComponentInstance value)
recontextualizeComponentInstance in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IConnectorInstance createConnectorInstance()
createConnectorInstance in interface IInstanceContextpublic IConnectorInstance recontextualizeConnectorInstance(IConnectorInstance value)
recontextualizeConnectorInstance in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IPoint createPoint()
createPoint in interface IInstanceContextpublic IPoint recontextualizePoint(IPoint value)
recontextualizePoint in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public ILinkInstance createLinkInstance()
createLinkInstance in interface IInstanceContextpublic ILinkInstance recontextualizeLinkInstance(ILinkInstance value)
recontextualizeLinkInstance in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IGroup createGroup()
createGroup in interface IInstanceContextpublic IGroup recontextualizeGroup(IGroup value)
recontextualizeGroup in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IInterfaceInstanceMapping createInterfaceInstanceMapping()
createInterfaceInstanceMapping in interface IInstanceContextpublic IInterfaceInstanceMapping recontextualizeInterfaceInstanceMapping(IInterfaceInstanceMapping value)
recontextualizeInterfaceInstanceMapping in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public ISubArchitecture createSubArchitecture()
createSubArchitecture in interface IInstanceContextpublic ISubArchitecture recontextualizeSubArchitecture(ISubArchitecture value)
recontextualizeSubArchitecture in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IArchInstance createArchInstance()
createArchInstance in interface IInstanceContextpublic IArchInstance recontextualizeArchInstance(IArchInstance value)
recontextualizeArchInstance in interface IInstanceContextvalue - Object to recontextualize.
value object in this namespace.public IArchInstance createArchInstanceElement()
IArchInstance.
This function should be used in lieu of createArchInstance
if the element is to be added as a sub-object of IXArch.
createArchInstanceElement in interface IInstanceContextpublic IArchInstance getArchInstance(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
getArchInstance in interface IInstanceContextxArch - IXArch object from which to get the child.
IArchInstance that is the child
of xArch or null if no such object exists.public Collection getAllArchInstances(IXArch xArch)
IXArch element.
getAllArchInstances in interface IInstanceContextxArch - IXArch object from which to get the children.
IArchInstance 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 | |||||||||