org.oasis.ebxml.registry.bindings.query
Class CompoundClause

java.lang.Object
  extended byorg.oasis.ebxml.registry.bindings.query.CompoundClause
All Implemented Interfaces:
java.io.Serializable

public class CompoundClause
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CompoundClause()
           
 
Method Summary
 void addClause(Clause vClause)
           
 void addClause(int index, Clause vClause)
           
 void clearClause()
           
 java.util.Enumeration enumerateClause()
           
 Clause[] getClause()
           
 Clause getClause(int index)
           
 int getClauseCount()
           
 ConnectivePredicateType getConnectivePredicate()
          Returns the value of field 'connectivePredicate'.
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removeClause(Clause vClause)
           
 void setClause(Clause[] clauseArray)
           
 void setClause(int index, Clause vClause)
           
 void setConnectivePredicate(ConnectivePredicateType connectivePredicate)
          Sets the value of field 'connectivePredicate'.
static CompoundClause unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundClause

public CompoundClause()
Method Detail

addClause

public void addClause(Clause vClause)
               throws java.lang.IndexOutOfBoundsException
Parameters:
vClause -
Throws:
java.lang.IndexOutOfBoundsException

addClause

public void addClause(int index,
                      Clause vClause)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vClause -
Throws:
java.lang.IndexOutOfBoundsException

clearClause

public void clearClause()

enumerateClause

public java.util.Enumeration enumerateClause()

getClause

public Clause getClause(int index)
                 throws java.lang.IndexOutOfBoundsException
Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getClause

public Clause[] getClause()

getClauseCount

public int getClauseCount()

getConnectivePredicate

public ConnectivePredicateType getConnectivePredicate()
Returns the value of field 'connectivePredicate'.

Returns:
the value of field 'connectivePredicate'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeClause

public boolean removeClause(Clause vClause)
Parameters:
vClause -

setClause

public void setClause(int index,
                      Clause vClause)
               throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vClause -
Throws:
java.lang.IndexOutOfBoundsException

setClause

public void setClause(Clause[] clauseArray)
Parameters:
clauseArray -

setConnectivePredicate

public void setConnectivePredicate(ConnectivePredicateType connectivePredicate)
Sets the value of field 'connectivePredicate'.

Parameters:
connectivePredicate - the value of field 'connectivePredicate'.

unmarshal

public static CompoundClause unmarshal(java.io.Reader reader)
                                throws org.exolab.castor.xml.MarshalException,
                                       org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException