xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.boolguard
Class BooleanGuardImpl

java.lang.Object
  extended byedu.uci.isr.xarch.options.GuardImpl
      extended byedu.uci.isr.xarch.boolguard.BooleanGuardImpl
All Implemented Interfaces:
DOMBased, IBooleanGuard, IGuard, IXArchElement

public class BooleanGuardImpl
extends GuardImpl
implements IBooleanGuard, IGuard, DOMBased

DOM-Based implementation of the IBooleanGuard interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String BOOLEAN_EXP_ELT_NAME
          Tag name for booleanExps in this object.
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from class edu.uci.isr.xarch.options.GuardImpl
elt, xArch
 
Fields inherited from interface edu.uci.isr.xarch.boolguard.IBooleanGuard
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
BooleanGuardImpl(Element elt)
           
 
Method Summary
 void clearBooleanExp()
          Clear the booleanExp from this BooleanGuard.
 IXArchElement cloneElement(int depth)
           
 IBooleanExp getBooleanExp()
          Get the booleanExp from this BooleanGuard.
 XArchInstanceMetadata getInstanceMetadata()
          Gets metadata describing the instance of this element.
protected static SequenceOrder getSequenceOrder()
           
 XArchTypeMetadata getTypeMetadata()
          Gets metadata describing the xsi:type of this element.
 boolean hasBooleanExp(IBooleanExp value)
          Determine if this BooleanGuard has the given booleanExp
 boolean isEquivalent(IBooleanGuard c)
          Determine if another BooleanGuard is equivalent to this one, ignoring ID's.
 void setBooleanExp(IBooleanExp value)
          Set the booleanExp for this BooleanGuard.
 
Methods inherited from class edu.uci.isr.xarch.options.GuardImpl
equals, getDOMNode, getXArch, hashCode, isEquivalent, setDOMNode, setXArch
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.isr.xarch.options.IGuard
isEquivalent
 
Methods inherited from interface edu.uci.isr.xarch.IXArchElement
getXArch, setXArch
 
Methods inherited from interface edu.uci.isr.xarch.DOMBased
getDOMNode, setDOMNode
 

Field Detail

XSD_TYPE_NSURI

public static final String XSD_TYPE_NSURI
See Also:
Constant Field Values

XSD_TYPE_NAME

public static final String XSD_TYPE_NAME
See Also:
Constant Field Values

BOOLEAN_EXP_ELT_NAME

public static final String BOOLEAN_EXP_ELT_NAME
Tag name for booleanExps in this object.

See Also:
Constant Field Values
Constructor Detail

BooleanGuardImpl

public BooleanGuardImpl(Element elt)
Method Detail

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

cloneElement

public IXArchElement cloneElement(int depth)
Specified by:
cloneElement in interface IXArchElement
Overrides:
cloneElement in class GuardImpl

getTypeMetadata

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

Specified by:
getTypeMetadata in interface IXArchElement
Overrides:
getTypeMetadata in class GuardImpl

getInstanceMetadata

public XArchInstanceMetadata getInstanceMetadata()
Description copied from interface: IXArchElement
Gets metadata describing the instance of this element.

Specified by:
getInstanceMetadata in interface IXArchElement
Overrides:
getInstanceMetadata in class GuardImpl

setBooleanExp

public void setBooleanExp(IBooleanExp value)
Description copied from interface: IBooleanGuard
Set the booleanExp for this BooleanGuard.

Specified by:
setBooleanExp in interface IBooleanGuard
Parameters:
value - new booleanExp

clearBooleanExp

public void clearBooleanExp()
Description copied from interface: IBooleanGuard
Clear the booleanExp from this BooleanGuard.

Specified by:
clearBooleanExp in interface IBooleanGuard

getBooleanExp

public IBooleanExp getBooleanExp()
Description copied from interface: IBooleanGuard
Get the booleanExp from this BooleanGuard.

Specified by:
getBooleanExp in interface IBooleanGuard
Returns:
booleanExp

hasBooleanExp

public boolean hasBooleanExp(IBooleanExp value)
Description copied from interface: IBooleanGuard
Determine if this BooleanGuard has the given booleanExp

Specified by:
hasBooleanExp in interface IBooleanGuard
Parameters:
value - booleanExp to compare
Returns:
true if the booleanExps are equivalent, false otherwise

isEquivalent

public boolean isEquivalent(IBooleanGuard c)
Description copied from interface: IBooleanGuard
Determine if another BooleanGuard is equivalent to this one, ignoring ID's.

Specified by:
isEquivalent in interface IBooleanGuard
Parameters:
c - BooleanGuard to compare to this one.
Returns:
true if all the child elements of this BooleanGuard are equivalent, false otherwise.

xArch/xADL 2.0 Data Binding Library