com.waveset.object
Class Conjunct

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

public class Conjunct
extends LogicalExpression
implements AttributeExpression

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

A conjunct is false as soon as its first node is false.


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 Conjunct()
          Protected "empty" constructor for the convenience of subclasses and other classes in this package.
  Conjunct(org.w3c.dom.Element e)
          Construct an Conjunct from an XML element
  Conjunct(java.util.List nodes)
          Construct a Conjunct from the specified list of attribute expressions.
  Conjunct(java.lang.String xml)
          Construct an Conjunct from an XML string
 
Method Summary
 java.lang.String getElementName()
          Return the element name.
static void main(java.lang.String[] args)
           
 
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

Conjunct

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


Conjunct

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


Conjunct

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

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

Conjunct

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

Parameters:
e - - the XML representation of the Conjunct 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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception