xArch/xADL 2.0 Data Binding Library

edu.uci.isr.xarch.boolguard
Class OrImpl

java.lang.Object
  extended byedu.uci.isr.xarch.boolguard.OrImpl
All Implemented Interfaces:
DOMBased, IOr, IXArchElement

public class OrImpl
extends Object
implements IOr, DOMBased

DOM-Based implementation of the IOr interface.

Author:
Automatically generated by xArch apigen.

Field Summary
static String BOOLEAN_EXP1_ELT_NAME
          Tag name for booleanExp1s in this object.
static String BOOLEAN_EXP2_ELT_NAME
          Tag name for booleanExp2s in this object.
protected  Element elt
           
protected  IXArch xArch
           
static String XSD_TYPE_NAME
           
static String XSD_TYPE_NSURI
           
 
Fields inherited from interface edu.uci.isr.xarch.boolguard.IOr
TYPE_METADATA
 
Fields inherited from interface edu.uci.isr.xarch.IXArchElement
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO
 
Constructor Summary
OrImpl(Element elt)
           
 
Method Summary
 void clearBooleanExp1()
          Clear the booleanExp1 from this Or.
 void clearBooleanExp2()
          Clear the booleanExp2 from this Or.
 IXArchElement cloneElement(int depth)
           
 boolean equals(Object o)
           
 IBooleanExp getBooleanExp1()
          Get the booleanExp1 from this Or.
 IBooleanExp getBooleanExp2()
          Get the booleanExp2 from this Or.
 Node getDOMNode()
          Gets the DOM node on which this implementation is based.
 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.
 IXArch getXArch()
           
 boolean hasBooleanExp1(IBooleanExp value)
          Determine if this Or has the given booleanExp1
 boolean hasBooleanExp2(IBooleanExp value)
          Determine if this Or has the given booleanExp2
 int hashCode()
           
 boolean isEquivalent(IOr c)
          Determine if another Or is equivalent to this one, ignoring ID's.
 void setBooleanExp1(IBooleanExp value)
          Set the booleanExp1 for this Or.
 void setBooleanExp2(IBooleanExp value)
          Set the booleanExp2 for this Or.
 void setDOMNode(Node node)
          Sets the DOM node on which this implementation is based.
 void setXArch(IXArch xArch)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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

xArch

protected IXArch xArch

BOOLEAN_EXP1_ELT_NAME

public static final String BOOLEAN_EXP1_ELT_NAME
Tag name for booleanExp1s in this object.

See Also:
Constant Field Values

BOOLEAN_EXP2_ELT_NAME

public static final String BOOLEAN_EXP2_ELT_NAME
Tag name for booleanExp2s in this object.

See Also:
Constant Field Values

elt

protected Element elt
Constructor Detail

OrImpl

public OrImpl(Element elt)
Method Detail

getDOMNode

public Node getDOMNode()
Description copied from interface: DOMBased
Gets the DOM node on which this implementation is based.

Specified by:
getDOMNode in interface DOMBased
Returns:
DOM node

setDOMNode

public void setDOMNode(Node node)
Description copied from interface: DOMBased
Sets the DOM node on which this implementation is based.

Specified by:
setDOMNode in interface DOMBased
Parameters:
node - DOM node

getSequenceOrder

protected static SequenceOrder getSequenceOrder()

setXArch

public void setXArch(IXArch xArch)
Specified by:
setXArch in interface IXArchElement

getXArch

public IXArch getXArch()
Specified by:
getXArch in interface IXArchElement

cloneElement

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

equals

public boolean equals(Object o)

hashCode

public int hashCode()

getTypeMetadata

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

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

getInstanceMetadata

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

Specified by:
getInstanceMetadata in interface IXArchElement
Returns:
metadata describing the instance of this element.

setBooleanExp1

public void setBooleanExp1(IBooleanExp value)
Description copied from interface: IOr
Set the booleanExp1 for this Or.

Specified by:
setBooleanExp1 in interface IOr
Parameters:
value - new booleanExp1

clearBooleanExp1

public void clearBooleanExp1()
Description copied from interface: IOr
Clear the booleanExp1 from this Or.

Specified by:
clearBooleanExp1 in interface IOr

getBooleanExp1

public IBooleanExp getBooleanExp1()
Description copied from interface: IOr
Get the booleanExp1 from this Or.

Specified by:
getBooleanExp1 in interface IOr
Returns:
booleanExp1

hasBooleanExp1

public boolean hasBooleanExp1(IBooleanExp value)
Description copied from interface: IOr
Determine if this Or has the given booleanExp1

Specified by:
hasBooleanExp1 in interface IOr
Parameters:
value - booleanExp1 to compare
Returns:
true if the booleanExp1s are equivalent, false otherwise

setBooleanExp2

public void setBooleanExp2(IBooleanExp value)
Description copied from interface: IOr
Set the booleanExp2 for this Or.

Specified by:
setBooleanExp2 in interface IOr
Parameters:
value - new booleanExp2

clearBooleanExp2

public void clearBooleanExp2()
Description copied from interface: IOr
Clear the booleanExp2 from this Or.

Specified by:
clearBooleanExp2 in interface IOr

getBooleanExp2

public IBooleanExp getBooleanExp2()
Description copied from interface: IOr
Get the booleanExp2 from this Or.

Specified by:
getBooleanExp2 in interface IOr
Returns:
booleanExp2

hasBooleanExp2

public boolean hasBooleanExp2(IBooleanExp value)
Description copied from interface: IOr
Determine if this Or has the given booleanExp2

Specified by:
hasBooleanExp2 in interface IOr
Parameters:
value - booleanExp2 to compare
Returns:
true if the booleanExp2s are equivalent, false otherwise

isEquivalent

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

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

xArch/xADL 2.0 Data Binding Library