com.waveset.object
Class Disjunct

java.lang.Object
  extended bycom.waveset.util.AbstractXmlObject
      extended bycom.waveset.object.LogicalExpression
          extended bycom.waveset.object.Disjunct
All Implemented Interfaces:
AttributeExpression, javax.naming.Referenceable, XmlObject

public class Disjunct
extends LogicalExpression
implements AttributeExpression

A set of attribute expressions that is logically "OR"ed together.

A disjunct is true as soon as its first node is true.


Field Summary
static java.lang.String code_id
           
static java.lang.String ELEMENT
           
static LogicalOperator LOGICAL_OPERATOR
           
 
Fields inherited from class com.waveset.object.LogicalExpression
_nodes, _operator
 
Fields inherited from class com.waveset.util.AbstractXmlObject
_trace
 
Constructor Summary
protected Disjunct()
          Protected "empty" constructor for the convenience of subclasses and other classes in this package.
  Disjunct(org.w3c.dom.Element e)
          Construct an Disjunct from an XML element
  Disjunct(java.util.List nodes)
          Construct a Disjunct from the specified list of attribute expressions.
  Disjunct(java.lang.String xml)
          Construct an Disjunct from an XML string
 
Method Summary
 java.lang.String getElementName()
          Return the element name.
 
Methods inherited from class com.waveset.object.LogicalExpression
addNode, checkMembers, compareTo, confirmMembers, convert, convert, convert, convert, convert, equals, getAttributeConditions, getNodes, getOperator, getSymbol, isAConjunct, isADisjunct, isMetBy, parseXml, parseXml, preProcess, println, setNodes, toLdapSearchFilter, toLdapSearchFilter, toString, toXml, toXml
 
Methods inherited from class com.waveset.util.AbstractXmlObject
addXmlHeader, cloneObject, dump, dumpFile, getReference, setTrace, toIdentityString, toVerboseString, toVerboseString, toXml, toXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.waveset.object.AttributeExpression
isMetBy, toLdapSearchFilter
 

Field Detail

code_id

public static final java.lang.String code_id
See Also:
Constant Field Values

LOGICAL_OPERATOR

public static final LogicalOperator LOGICAL_OPERATOR

ELEMENT

public static final java.lang.String ELEMENT
See Also:
Constant Field Values
Constructor Detail

Disjunct

protected Disjunct()
Protected "empty" constructor for the convenience of subclasses and other classes in this package.


Disjunct

public Disjunct(java.util.List nodes)
Construct a Disjunct from the specified list of attribute expressions.


Disjunct

public Disjunct(java.lang.String xml)
         throws WavesetException
Construct an Disjunct from an XML string

Parameters:
xml - - an Disjunct serialized as an XML string.

Disjunct

public Disjunct(org.w3c.dom.Element e)
         throws WavesetException
Construct an Disjunct from an XML element

Parameters:
e - - the XML representation of the Disjunct to be created
Method Detail

getElementName

public java.lang.String getElementName()
Description copied from class: AbstractXmlObject
Return the element name.

Specified by:
getElementName in interface XmlObject
Specified by:
getElementName in class LogicalExpression