xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.sourcecodeeclipse
Interface ISourcecodeeclipseContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
SourcecodeeclipseContext

public interface ISourcecodeeclipseContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IEclipseProjectId createEclipseProjectId()
          Create an IEclipseProjectId object in this namespace.
 IEclipseProjectName createEclipseProjectName()
          Create an IEclipseProjectName object in this namespace.
 IEclipseSourceCodeManager createEclipseSourceCodeManager()
          Create an IEclipseSourceCodeManager object in this namespace.
 IEclipseSourceCodeManager promoteToEclipseSourceCodeManager(IJavaSourceCodeManager value)
          Promote an object of type edu.uci.isr.xarch.javasourcecode.IJavaSourceCodeManager to one of type IEclipseSourceCodeManager.
 IEclipseProjectId recontextualizeEclipseProjectId(IEclipseProjectId value)
          Brings an IEclipseProjectId object created in another context into this context.
 IEclipseProjectName recontextualizeEclipseProjectName(IEclipseProjectName value)
          Brings an IEclipseProjectName object created in another context into this context.
 IEclipseSourceCodeManager recontextualizeEclipseSourceCodeManager(IEclipseSourceCodeManager value)
          Brings an IEclipseSourceCodeManager 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

createEclipseProjectName

public IEclipseProjectName createEclipseProjectName()
Create an IEclipseProjectName object in this namespace.

Returns:
New IEclipseProjectName object.

recontextualizeEclipseProjectName

public IEclipseProjectName recontextualizeEclipseProjectName(IEclipseProjectName value)
Brings an IEclipseProjectName object created in another context into this context.

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

createEclipseProjectId

public IEclipseProjectId createEclipseProjectId()
Create an IEclipseProjectId object in this namespace.

Returns:
New IEclipseProjectId object.

recontextualizeEclipseProjectId

public IEclipseProjectId recontextualizeEclipseProjectId(IEclipseProjectId value)
Brings an IEclipseProjectId object created in another context into this context.

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

createEclipseSourceCodeManager

public IEclipseSourceCodeManager createEclipseSourceCodeManager()
Create an IEclipseSourceCodeManager object in this namespace.

Returns:
New IEclipseSourceCodeManager object.

recontextualizeEclipseSourceCodeManager

public IEclipseSourceCodeManager recontextualizeEclipseSourceCodeManager(IEclipseSourceCodeManager value)
Brings an IEclipseSourceCodeManager object created in another context into this context.

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

promoteToEclipseSourceCodeManager

public IEclipseSourceCodeManager promoteToEclipseSourceCodeManager(IJavaSourceCodeManager value)
Promote an object of type edu.uci.isr.xarch.javasourcecode.IJavaSourceCodeManager to one of type IEclipseSourceCodeManager. 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.javasourcecode.IJavaSourceCodeManager 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.

xArch/xADL 2.0 Data Binding Library