xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.javaimplementation
Interface IJavaimplementationContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
JavaimplementationContext

public interface IJavaimplementationContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IJavaClassFile createJavaClassFile()
          Create an IJavaClassFile object in this namespace.
 IJavaClassName createJavaClassName()
          Create an IJavaClassName object in this namespace.
 IJavaImplementation createJavaImplementation()
          Create an IJavaImplementation object in this namespace.
 IXMLLink createXMLLink()
          Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace.
 IJavaImplementation promoteToJavaImplementation(IImplementation value)
          Promote an object of type edu.uci.isr.xarch.implementation.IImplementation to one of type IJavaImplementation.
 IJavaClassFile recontextualizeJavaClassFile(IJavaClassFile value)
          Brings an IJavaClassFile object created in another context into this context.
 IJavaClassName recontextualizeJavaClassName(IJavaClassName value)
          Brings an IJavaClassName object created in another context into this context.
 IJavaImplementation recontextualizeJavaImplementation(IJavaImplementation value)
          Brings an IJavaImplementation 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

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

createJavaImplementation

public IJavaImplementation createJavaImplementation()
Create an IJavaImplementation object in this namespace.

Returns:
New IJavaImplementation object.

recontextualizeJavaImplementation

public IJavaImplementation recontextualizeJavaImplementation(IJavaImplementation value)
Brings an IJavaImplementation object created in another context into this context.

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

promoteToJavaImplementation

public IJavaImplementation promoteToJavaImplementation(IImplementation value)
Promote an object of type edu.uci.isr.xarch.implementation.IImplementation to one of type IJavaImplementation. 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.IImplementation 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.

createJavaClassFile

public IJavaClassFile createJavaClassFile()
Create an IJavaClassFile object in this namespace.

Returns:
New IJavaClassFile object.

recontextualizeJavaClassFile

public IJavaClassFile recontextualizeJavaClassFile(IJavaClassFile value)
Brings an IJavaClassFile object created in another context into this context.

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

createXMLLink

public IXMLLink createXMLLink()
Create an edu.uci.isr.xarch.instance.IXMLLink object in this namespace.

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

recontextualizeXMLLink

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

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

createJavaClassName

public IJavaClassName createJavaClassName()
Create an IJavaClassName object in this namespace.

Returns:
New IJavaClassName object.

recontextualizeJavaClassName

public IJavaClassName recontextualizeJavaClassName(IJavaClassName value)
Brings an IJavaClassName object created in another context into this context.

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

xArch/xADL 2.0 Data Binding Library