xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.boolguard
Class BoolguardContext

java.lang.Object
  extended byedu.uci.isr.xarch.boolguard.BoolguardContext
All Implemented Interfaces:
IBoolguardContext, IXArchContext

public class BoolguardContext
extends Object
implements IBoolguardContext

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

Author:
Automatically Generated by xArch apigen

Field Summary
protected static String DEFAULT_ELT_NAME
           
protected  Document doc
           
protected  IXArch xArch
           
 
Fields inherited from interface edu.uci.isr.xarch.boolguard.IBoolguardContext
TYPE_METADATA
 
Constructor Summary
BoolguardContext(IXArch xArch)
          Create a new BoolguardContext for the given IXArch object.
 
Method Summary
 IAnd createAnd()
          Create an IAnd object in this namespace.
 IBool createBool()
          Create an IBool object in this namespace.
 IBooleanExp createBooleanExp()
          Create an IBooleanExp object in this namespace.
 IBooleanGuard createBooleanGuard()
          Create an IBooleanGuard object in this namespace.
protected  Element createElement(String name)
           
 IEquals createEquals()
          Create an IEquals object in this namespace.
 IGreaterThan createGreaterThan()
          Create an IGreaterThan object in this namespace.
 IGreaterThanOrEquals createGreaterThanOrEquals()
          Create an IGreaterThanOrEquals object in this namespace.
 IInRange createInRange()
          Create an IInRange object in this namespace.
 IInSet createInSet()
          Create an IInSet object in this namespace.
 ILessThan createLessThan()
          Create an ILessThan object in this namespace.
 ILessThanOrEquals createLessThanOrEquals()
          Create an ILessThanOrEquals object in this namespace.
 INot createNot()
          Create an INot object in this namespace.
 INotEquals createNotEquals()
          Create an INotEquals object in this namespace.
 IOr createOr()
          Create an IOr object in this namespace.
 IParen createParen()
          Create an IParen object in this namespace.
 ISymbol createSymbol()
          Create an ISymbol object in this namespace.
 IValue createValue()
          Create an IValue object in this namespace.
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 IXArch getXArch()
          Get the IXArch object that this context is based upon.
 IBooleanGuard promoteToBooleanGuard(IGuard value)
          Promote an object of type edu.uci.isr.xarch.options.IGuard to one of type IBooleanGuard.
 IAnd recontextualizeAnd(IAnd value)
          Brings an IAnd object created in another context into this context.
 IBool recontextualizeBool(IBool value)
          Brings an IBool object created in another context into this context.
 IBooleanExp recontextualizeBooleanExp(IBooleanExp value)
          Brings an IBooleanExp object created in another context into this context.
 IBooleanGuard recontextualizeBooleanGuard(IBooleanGuard value)
          Brings an IBooleanGuard object created in another context into this context.
 IEquals recontextualizeEquals(IEquals value)
          Brings an IEquals object created in another context into this context.
 IGreaterThan recontextualizeGreaterThan(IGreaterThan value)
          Brings an IGreaterThan object created in another context into this context.
 IGreaterThanOrEquals recontextualizeGreaterThanOrEquals(IGreaterThanOrEquals value)
          Brings an IGreaterThanOrEquals object created in another context into this context.
 IInRange recontextualizeInRange(IInRange value)
          Brings an IInRange object created in another context into this context.
 IInSet recontextualizeInSet(IInSet value)
          Brings an IInSet object created in another context into this context.
 ILessThan recontextualizeLessThan(ILessThan value)
          Brings an ILessThan object created in another context into this context.
 ILessThanOrEquals recontextualizeLessThanOrEquals(ILessThanOrEquals value)
          Brings an ILessThanOrEquals object created in another context into this context.
 INot recontextualizeNot(INot value)
          Brings an INot object created in another context into this context.
 INotEquals recontextualizeNotEquals(INotEquals value)
          Brings an INotEquals object created in another context into this context.
 IOr recontextualizeOr(IOr value)
          Brings an IOr object created in another context into this context.
 IParen recontextualizeParen(IParen value)
          Brings an IParen object created in another context into this context.
 ISymbol recontextualizeSymbol(ISymbol value)
          Brings an ISymbol object created in another context into this context.
 IValue recontextualizeValue(IValue value)
          Brings an IValue 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

DEFAULT_ELT_NAME

protected static final String DEFAULT_ELT_NAME
See Also:
Constant Field Values

doc

protected Document doc

xArch

protected IXArch xArch
Constructor Detail

BoolguardContext

public BoolguardContext(IXArch xArch)
Create a new BoolguardContext for the given IXArch object.

Parameters:
xArch - XArch object to contextualize in this namespace.
Method Detail

getXArch

public IXArch getXArch()
Description copied from interface: IXArchContext
Get the IXArch object that this context is based upon.

Specified by:
getXArch in interface IXArchContext
Returns:
IXArch object upon which this context is based.

createElement

protected Element createElement(String name)

getTypeMetadata

public XArchTypeMetadata getTypeMetadata()
Description copied from interface: IXArchContext
Gets metadata describing the xsi:type of this element.

Specified by:
getTypeMetadata in interface IXArchContext
Returns:
metadata describing the xsi:type of this element.

createSymbol

public ISymbol createSymbol()
Create an ISymbol object in this namespace.

Specified by:
createSymbol in interface IBoolguardContext
Returns:
New ISymbol object.

recontextualizeSymbol

public ISymbol recontextualizeSymbol(ISymbol value)
Brings an ISymbol object created in another context into this context.

Specified by:
recontextualizeSymbol in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createValue

public IValue createValue()
Create an IValue object in this namespace.

Specified by:
createValue in interface IBoolguardContext
Returns:
New IValue object.

recontextualizeValue

public IValue recontextualizeValue(IValue value)
Brings an IValue object created in another context into this context.

Specified by:
recontextualizeValue in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createBooleanGuard

public IBooleanGuard createBooleanGuard()
Create an IBooleanGuard object in this namespace.

Specified by:
createBooleanGuard in interface IBoolguardContext
Returns:
New IBooleanGuard object.

recontextualizeBooleanGuard

public IBooleanGuard recontextualizeBooleanGuard(IBooleanGuard value)
Brings an IBooleanGuard object created in another context into this context.

Specified by:
recontextualizeBooleanGuard in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

promoteToBooleanGuard

public IBooleanGuard promoteToBooleanGuard(IGuard value)
Promote an object of type edu.uci.isr.xarch.options.IGuard to one of type IBooleanGuard. 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.options.IGuard 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.

Specified by:
promoteToBooleanGuard in interface IBoolguardContext
Parameters:
value - Object to promote.
Returns:
Promoted object.

createBool

public IBool createBool()
Create an IBool object in this namespace.

Specified by:
createBool in interface IBoolguardContext
Returns:
New IBool object.

recontextualizeBool

public IBool recontextualizeBool(IBool value)
Brings an IBool object created in another context into this context.

Specified by:
recontextualizeBool in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createBooleanExp

public IBooleanExp createBooleanExp()
Create an IBooleanExp object in this namespace.

Specified by:
createBooleanExp in interface IBoolguardContext
Returns:
New IBooleanExp object.

recontextualizeBooleanExp

public IBooleanExp recontextualizeBooleanExp(IBooleanExp value)
Brings an IBooleanExp object created in another context into this context.

Specified by:
recontextualizeBooleanExp in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createParen

public IParen createParen()
Create an IParen object in this namespace.

Specified by:
createParen in interface IBoolguardContext
Returns:
New IParen object.

recontextualizeParen

public IParen recontextualizeParen(IParen value)
Brings an IParen object created in another context into this context.

Specified by:
recontextualizeParen in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createGreaterThan

public IGreaterThan createGreaterThan()
Create an IGreaterThan object in this namespace.

Specified by:
createGreaterThan in interface IBoolguardContext
Returns:
New IGreaterThan object.

recontextualizeGreaterThan

public IGreaterThan recontextualizeGreaterThan(IGreaterThan value)
Brings an IGreaterThan object created in another context into this context.

Specified by:
recontextualizeGreaterThan in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createGreaterThanOrEquals

public IGreaterThanOrEquals createGreaterThanOrEquals()
Create an IGreaterThanOrEquals object in this namespace.

Specified by:
createGreaterThanOrEquals in interface IBoolguardContext
Returns:
New IGreaterThanOrEquals object.

recontextualizeGreaterThanOrEquals

public IGreaterThanOrEquals recontextualizeGreaterThanOrEquals(IGreaterThanOrEquals value)
Brings an IGreaterThanOrEquals object created in another context into this context.

Specified by:
recontextualizeGreaterThanOrEquals in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createLessThan

public ILessThan createLessThan()
Create an ILessThan object in this namespace.

Specified by:
createLessThan in interface IBoolguardContext
Returns:
New ILessThan object.

recontextualizeLessThan

public ILessThan recontextualizeLessThan(ILessThan value)
Brings an ILessThan object created in another context into this context.

Specified by:
recontextualizeLessThan in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createLessThanOrEquals

public ILessThanOrEquals createLessThanOrEquals()
Create an ILessThanOrEquals object in this namespace.

Specified by:
createLessThanOrEquals in interface IBoolguardContext
Returns:
New ILessThanOrEquals object.

recontextualizeLessThanOrEquals

public ILessThanOrEquals recontextualizeLessThanOrEquals(ILessThanOrEquals value)
Brings an ILessThanOrEquals object created in another context into this context.

Specified by:
recontextualizeLessThanOrEquals in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createEquals

public IEquals createEquals()
Create an IEquals object in this namespace.

Specified by:
createEquals in interface IBoolguardContext
Returns:
New IEquals object.

recontextualizeEquals

public IEquals recontextualizeEquals(IEquals value)
Brings an IEquals object created in another context into this context.

Specified by:
recontextualizeEquals in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createNotEquals

public INotEquals createNotEquals()
Create an INotEquals object in this namespace.

Specified by:
createNotEquals in interface IBoolguardContext
Returns:
New INotEquals object.

recontextualizeNotEquals

public INotEquals recontextualizeNotEquals(INotEquals value)
Brings an INotEquals object created in another context into this context.

Specified by:
recontextualizeNotEquals in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createAnd

public IAnd createAnd()
Create an IAnd object in this namespace.

Specified by:
createAnd in interface IBoolguardContext
Returns:
New IAnd object.

recontextualizeAnd

public IAnd recontextualizeAnd(IAnd value)
Brings an IAnd object created in another context into this context.

Specified by:
recontextualizeAnd in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createOr

public IOr createOr()
Create an IOr object in this namespace.

Specified by:
createOr in interface IBoolguardContext
Returns:
New IOr object.

recontextualizeOr

public IOr recontextualizeOr(IOr value)
Brings an IOr object created in another context into this context.

Specified by:
recontextualizeOr in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createNot

public INot createNot()
Create an INot object in this namespace.

Specified by:
createNot in interface IBoolguardContext
Returns:
New INot object.

recontextualizeNot

public INot recontextualizeNot(INot value)
Brings an INot object created in another context into this context.

Specified by:
recontextualizeNot in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createInSet

public IInSet createInSet()
Create an IInSet object in this namespace.

Specified by:
createInSet in interface IBoolguardContext
Returns:
New IInSet object.

recontextualizeInSet

public IInSet recontextualizeInSet(IInSet value)
Brings an IInSet object created in another context into this context.

Specified by:
recontextualizeInSet in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

createInRange

public IInRange createInRange()
Create an IInRange object in this namespace.

Specified by:
createInRange in interface IBoolguardContext
Returns:
New IInRange object.

recontextualizeInRange

public IInRange recontextualizeInRange(IInRange value)
Brings an IInRange object created in another context into this context.

Specified by:
recontextualizeInRange in interface IBoolguardContext
Parameters:
value - Object to recontextualize.
Returns:
value object in this namespace.

xArch/xADL 2.0 Data Binding Library