xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.boolguard
Interface IBooleanGuard

All Superinterfaces:
IGuard, IXArchElement
All Known Implementing Classes:
BooleanGuardImpl

public interface IBooleanGuard
extends IGuard, IXArchElement

Interface for accessing objects of the BooleanGuard xsi:type in the boolguard namespace. Extends and inherits the properties of the Guard xsi:type.

Author:
xArch apigen

Field Summary
static XArchTypeMetadata TYPE_METADATA
           
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Method Summary
 void clearBooleanExp()
          Clear the booleanExp from this BooleanGuard.
 IBooleanExp getBooleanExp()
          Get the booleanExp from this BooleanGuard.
 boolean hasBooleanExp(IBooleanExp booleanExpToCheck)
          Determine if this BooleanGuard has the given booleanExp
 boolean isEquivalent(IBooleanGuard BooleanGuardToCheck)
          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 interface edu.uci.isr.xarch.options.IGuard
isEquivalent
 
Methods inherited from interface edu.uci.isr.xarch.IXArchElement
cloneElement, getInstanceMetadata, getTypeMetadata, getXArch, setXArch
 

Field Detail

TYPE_METADATA

public static final XArchTypeMetadata TYPE_METADATA
Method Detail

setBooleanExp

public void setBooleanExp(IBooleanExp value)
Set the booleanExp for this BooleanGuard.

Parameters:
value - new booleanExp

clearBooleanExp

public void clearBooleanExp()
Clear the booleanExp from this BooleanGuard.


getBooleanExp

public IBooleanExp getBooleanExp()
Get the booleanExp from this BooleanGuard.

Returns:
booleanExp

hasBooleanExp

public boolean hasBooleanExp(IBooleanExp booleanExpToCheck)
Determine if this BooleanGuard has the given booleanExp

Parameters:
booleanExpToCheck - booleanExp to compare
Returns:
true if the booleanExps are equivalent, false otherwise

isEquivalent

public boolean isEquivalent(IBooleanGuard BooleanGuardToCheck)
Determine if another BooleanGuard is equivalent to this one, ignoring ID's.

Parameters:
BooleanGuardToCheck - 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