xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.diff
Interface IDiffContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
DiffContext

public interface IDiffContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
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.
 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.
 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 interface edu.uci.isr.xarch.IXArchContext
getTypeMetadata, getXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

createAdd

public IAdd createAdd()
Create an IAdd object in this namespace.

Returns:
New IAdd object.

recontextualizeAdd

public IAdd recontextualizeAdd(IAdd value)
Brings an IAdd object created in another context into this context.

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

createComponent

public IComponent createComponent()
Create an edu.uci.isr.xarch.types.IComponent object in this namespace.

Returns:
New edu.uci.isr.xarch.types.IComponent object.

recontextualizeComponent

public IComponent recontextualizeComponent(IComponent value)
Brings an edu.uci.isr.xarch.types.IComponent object created in another context into this context.

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

createConnector

public IConnector createConnector()
Create an edu.uci.isr.xarch.types.IConnector object in this namespace.

Returns:
New edu.uci.isr.xarch.types.IConnector object.

recontextualizeConnector

public IConnector recontextualizeConnector(IConnector value)
Brings an edu.uci.isr.xarch.types.IConnector object created in another context into this context.

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

createLink

public ILink createLink()
Create an edu.uci.isr.xarch.types.ILink object in this namespace.

Returns:
New edu.uci.isr.xarch.types.ILink object.

recontextualizeLink

public ILink recontextualizeLink(ILink value)
Brings an edu.uci.isr.xarch.types.ILink object created in another context into this context.

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

createGroup

public IGroup createGroup()
Create an edu.uci.isr.xarch.instance.IGroup object in this namespace.

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

recontextualizeGroup

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

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

createComponentType

public IComponentType createComponentType()
Create an edu.uci.isr.xarch.types.IComponentType object in this namespace.

Returns:
New edu.uci.isr.xarch.types.IComponentType object.

recontextualizeComponentType

public IComponentType recontextualizeComponentType(IComponentType value)
Brings an edu.uci.isr.xarch.types.IComponentType object created in another context into this context.

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

createConnectorType

public IConnectorType createConnectorType()
Create an edu.uci.isr.xarch.types.IConnectorType object in this namespace.

Returns:
New edu.uci.isr.xarch.types.IConnectorType object.

recontextualizeConnectorType

public IConnectorType recontextualizeConnectorType(IConnectorType value)
Brings an edu.uci.isr.xarch.types.IConnectorType object created in another context into this context.

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

createInterfaceType

public IInterfaceType createInterfaceType()
Create an edu.uci.isr.xarch.types.IInterfaceType object in this namespace.

Returns:
New edu.uci.isr.xarch.types.IInterfaceType object.

recontextualizeInterfaceType

public IInterfaceType recontextualizeInterfaceType(IInterfaceType value)
Brings an edu.uci.isr.xarch.types.IInterfaceType object created in another context into this context.

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

createRemove

public IRemove createRemove()
Create an IRemove object in this namespace.

Returns:
New IRemove object.

recontextualizeRemove

public IRemove recontextualizeRemove(IRemove value)
Brings an IRemove object created in another context into this context.

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

createDiffPart

public IDiffPart createDiffPart()
Create an IDiffPart object in this namespace.

Returns:
New IDiffPart object.

recontextualizeDiffPart

public IDiffPart recontextualizeDiffPart(IDiffPart value)
Brings an IDiffPart object created in another context into this context.

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

createDiff

public IDiff createDiff()
Create an IDiff object in this namespace.

Returns:
New IDiff object.

recontextualizeDiff

public IDiff recontextualizeDiff(IDiff value)
Brings an IDiff object created in another context into this context.

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

createDiffElement

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

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

getDiff

public IDiff getDiff(IXArch xArch)
Gets the IDiff 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:
IDiff that is the child of xArch or null if no such object exists.

getAllDiffs

public Collection getAllDiffs(IXArch xArch)
Gets all the IDiff children from the given IXArch element.

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

xArch/xADL 2.0 Data Binding Library