com.sun.ebxml.registry.query.filter
Class BranchProcessor

java.lang.Object
  |
  +--com.sun.ebxml.registry.query.filter.BranchProcessor
All Implemented Interfaces:
SQLConverter
Direct Known Subclasses:
AssociationBranchProcessor, ClassifiedByBranchProcessor, InternationalStringBranchProcessor, ServiceBindingBranchProcessor, SlotBranchProcessor, SpecificationLinkBranchProcessor, UserBranchProcessor

public abstract class BranchProcessor
extends java.lang.Object
implements SQLConverter

Class Declaration for BranchProcessor

Author:
Nikola Stojanovic
See Also:

Field Summary
protected  java.lang.Object nativeBranch
           
protected  java.lang.String sqlQuery
           
protected  java.lang.String whereClause
           
 
Constructor Summary
BranchProcessor()
           
 
Method Summary
 java.lang.String addWhereClause(java.lang.String whereClause, java.lang.Object branch)
           
protected abstract  void buildBranchClauses()
           
protected abstract  void buildFilterClauses()
           
protected abstract  void buildQueryClauses()
           
 java.lang.String convertToSQL(java.lang.Object obj)
          Convert the specified Object obj to an equivalent SQL query string.
protected abstract  java.lang.String getName()
           
protected abstract  void setNativeBranch(java.lang.Object branch)
           
 void setParentJoinColumn(java.lang.String parJoinColumn)
           
 void setSelectColumn(java.lang.String selColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sqlQuery

protected java.lang.String sqlQuery

whereClause

protected java.lang.String whereClause

nativeBranch

protected java.lang.Object nativeBranch
Constructor Detail

BranchProcessor

public BranchProcessor()
Method Detail

setNativeBranch

protected abstract void setNativeBranch(java.lang.Object branch)

getName

protected abstract java.lang.String getName()

buildFilterClauses

protected abstract void buildFilterClauses()
                                    throws RegistryException
RegistryException

buildQueryClauses

protected abstract void buildQueryClauses()
                                   throws RegistryException
RegistryException

buildBranchClauses

protected abstract void buildBranchClauses()
                                    throws RegistryException
RegistryException

setParentJoinColumn

public void setParentJoinColumn(java.lang.String parJoinColumn)

setSelectColumn

public void setSelectColumn(java.lang.String selColumn)

convertToSQL

public java.lang.String convertToSQL(java.lang.Object obj)
                              throws RegistryException
Convert the specified Object obj to an equivalent SQL query string.

Specified by:
convertToSQL in interface SQLConverter
RegistryException

addWhereClause

public java.lang.String addWhereClause(java.lang.String whereClause,
                                       java.lang.Object branch)
                                throws RegistryException
RegistryException


Copyright © 2001-2003 OASIS. All Rights Reserved.