xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.javainitparams
Interface IJavainitparamsContext

All Superinterfaces:
IXArchContext
All Known Implementing Classes:
JavainitparamsContext

public interface IJavainitparamsContext
extends IXArchContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Method Summary
 IInitializationParameter createInitializationParameter()
          Create an IInitializationParameter object in this namespace.
 IJavaClassFileParams createJavaClassFileParams()
          Create an IJavaClassFileParams object in this namespace.
 IJavaClassFileParams promoteToJavaClassFileParams(IJavaClassFile value)
          Promote an object of type edu.uci.isr.xarch.javaimplementation.IJavaClassFile to one of type IJavaClassFileParams.
 IInitializationParameter recontextualizeInitializationParameter(IInitializationParameter value)
          Brings an IInitializationParameter object created in another context into this context.
 IJavaClassFileParams recontextualizeJavaClassFileParams(IJavaClassFileParams value)
          Brings an IJavaClassFileParams 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

createJavaClassFileParams

public IJavaClassFileParams createJavaClassFileParams()
Create an IJavaClassFileParams object in this namespace.

Returns:
New IJavaClassFileParams object.

recontextualizeJavaClassFileParams

public IJavaClassFileParams recontextualizeJavaClassFileParams(IJavaClassFileParams value)
Brings an IJavaClassFileParams object created in another context into this context.

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

promoteToJavaClassFileParams

public IJavaClassFileParams promoteToJavaClassFileParams(IJavaClassFile value)
Promote an object of type edu.uci.isr.xarch.javaimplementation.IJavaClassFile to one of type IJavaClassFileParams. 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.javaimplementation.IJavaClassFile 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.

createInitializationParameter

public IInitializationParameter createInitializationParameter()
Create an IInitializationParameter object in this namespace.

Returns:
New IInitializationParameter object.

recontextualizeInitializationParameter

public IInitializationParameter recontextualizeInitializationParameter(IInitializationParameter value)
Brings an IInitializationParameter 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