|
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.diff.DiffContext
The context object for the diff package. This object is used to create objects that are used in the diff namespace.
| Field Summary | |
protected static String |
DEFAULT_ELT_NAME
|
protected Document |
doc
|
protected IXArch |
xArch
|
| Fields inherited from interface edu.uci.isr.xarch.diff.IDiffContext |
TYPE_METADATA |
| Constructor Summary | |
DiffContext(IXArch xArch)
Create a new DiffContext for the given IXArch object. |
|
| Method Summary | |
IAdd |
createAdd()
Create an IAdd object in this namespace. |
IComponent |
createComponent()
Create an edu.uci.isr.xarch.types.IComponent object in this namespace. |
IComponentType |
createComponentType()
Create an edu.uci.isr.xarch.types.IComponentType object in this namespace. |
IConnector |
createConnector()
Create an edu.uci.isr.xarch.types.IConnector object in this namespace. |
IConnectorType |
createConnectorType()
Create an edu.uci.isr.xarch.types.IConnectorType object in this namespace. |
IDiff |
createDiff()
Create an IDiff object in this namespace. |
IDiff |
createDiffElement()
Create a top-level element of type IDiff. |
IDiffPart |
createDiffPart()
Create an IDiffPart object in this namespace. |
protected Element |
createElement(String name)
|
IGroup |
createGroup()
Create an edu.uci.isr.xarch.instance.IGroup object in this namespace. |
IInterfaceType |
createInterfaceType()
Create an edu.uci.isr.xarch.types.IInterfaceType object in this namespace. |
ILink |
createLink()
Create an edu.uci.isr.xarch.types.ILink object in this namespace. |
IRemove |
createRemove()
Create an IRemove object in this namespace. |
Collection |
getAllDiffs(IXArch xArch)
Gets all the IDiff children from the given IXArch element. |
IDiff |
getDiff(IXArch xArch)
Gets the IDiff 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. |
IAdd |
recontextualizeAdd(IAdd value)
Brings an IAdd object created in another context into this context. |
IComponent |
recontextualizeComponent(IComponent value)
Brings an edu.uci.isr.xarch.types.IComponent object created in another context into this context. |
IComponentType |
recontextualizeComponentType(IComponentType value)
Brings an edu.uci.isr.xarch.types.IComponentType object created in another context into this context. |
IConnector |
recontextualizeConnector(IConnector value)
Brings an edu.uci.isr.xarch.types.IConnector object created in another context into this context. |
IConnectorType |
recontextualizeConnectorType(IConnectorType value)
Brings an edu.uci.isr.xarch.types.IConnectorType object created in another context into this context. |
IDiff |
recontextualizeDiff(IDiff value)
Brings an IDiff object created in another context into this context. |
IDiffPart |
recontextualizeDiffPart(IDiffPart value)
Brings an IDiffPart object created in another context into this context. |
IGroup |
recontextualizeGroup(IGroup value)
Brings an edu.uci.isr.xarch.instance.IGroup object created in another context into this context. |
IInterfaceType |
recontextualizeInterfaceType(IInterfaceType value)
Brings an edu.uci.isr.xarch.types.IInterfaceType object created in another context into this context. |
ILink |
recontextualizeLink(ILink value)
Brings an edu.uci.isr.xarch.types.ILink object created in another context into this context. |
IRemove |
recontextualizeRemove(IRemove value)
Brings an IRemove 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 DiffContext(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 IAdd createAdd()
createAdd in interface IDiffContextpublic IAdd recontextualizeAdd(IAdd value)
recontextualizeAdd in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IComponent createComponent()
createComponent in interface IDiffContextpublic IComponent recontextualizeComponent(IComponent value)
recontextualizeComponent in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IConnector createConnector()
createConnector in interface IDiffContextpublic IConnector recontextualizeConnector(IConnector value)
recontextualizeConnector in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public ILink createLink()
createLink in interface IDiffContextpublic ILink recontextualizeLink(ILink value)
recontextualizeLink in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IGroup createGroup()
createGroup in interface IDiffContextpublic IGroup recontextualizeGroup(IGroup value)
recontextualizeGroup in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IComponentType createComponentType()
createComponentType in interface IDiffContextpublic IComponentType recontextualizeComponentType(IComponentType value)
recontextualizeComponentType in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IConnectorType createConnectorType()
createConnectorType in interface IDiffContextpublic IConnectorType recontextualizeConnectorType(IConnectorType value)
recontextualizeConnectorType in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IInterfaceType createInterfaceType()
createInterfaceType in interface IDiffContextpublic IInterfaceType recontextualizeInterfaceType(IInterfaceType value)
recontextualizeInterfaceType in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IRemove createRemove()
createRemove in interface IDiffContextpublic IRemove recontextualizeRemove(IRemove value)
recontextualizeRemove in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IDiffPart createDiffPart()
createDiffPart in interface IDiffContextpublic IDiffPart recontextualizeDiffPart(IDiffPart value)
recontextualizeDiffPart in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IDiff createDiff()
createDiff in interface IDiffContextpublic IDiff recontextualizeDiff(IDiff value)
recontextualizeDiff in interface IDiffContextvalue - Object to recontextualize.
value object in this namespace.public IDiff createDiffElement()
IDiff.
This function should be used in lieu of createDiff
if the element is to be added as a sub-object of IXArch.
createDiffElement in interface IDiffContextpublic IDiff getDiff(IXArch xArch)
IXArch
element. If there are multiple matching children, this returns the first one.
getDiff in interface IDiffContextxArch - IXArch object from which to get the child.
IDiff that is the child
of xArch or null if no such object exists.public Collection getAllDiffs(IXArch xArch)
IXArch element.
getAllDiffs in interface IDiffContextxArch - IXArch object from which to get the children.
IDiff 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 | |||||||||