wt.csm.query
Class CSMQuerySpec

java.lang.Object
  extended bywt.csm.query.CSMQuerySpec
All Implemented Interfaces:
Externalizable, Serializable

public class CSMQuerySpec
extends Object
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  IndirectQueryTargetDefaultView indirectResultTarget
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  AbstractQueryResults theAbstractQueryResults
           
private  CSMFetchRule theCSMFetchRule
           
private  DirectSearchRule theDirectSearchRule
           
private  Vector theIndirectSearchRule
           
private  SortRule theSortRule
           
 
Constructor Summary
CSMQuerySpec()
          

Supported API: false
CSMQuerySpec(SortRule sortRule, AbstractQueryResults queryResults, CSMFetchRule fetchRule, DirectSearchRule directSearchRule, Vector indirectSearchRules)
          

Supported API: false
 
Method Summary
 AbstractQueryResults getAbstractQueryResults()
          Gets the object for the association that plays role: theAbstractQueryResults.
 CSMFetchRule getCSMFetchRule()
          Gets the object for the association that plays role: theCSMFetchRule.
 DirectSearchRule getDirectSearchRule()
          Gets the object for the association that plays role: theDirectSearchRule.
 IndirectQueryTargetDefaultView getIndirectResultTarget()
          Gets the value of the attribute: indirectResultTarget.
 Vector getIndirectSearchRule()
          Gets the object for the association that plays role: theIndirectSearchRule.
 SearchSpecification getSearchSpecification()
          

Supported API: false
 SortRule getSortRule()
          Gets the object for the association that plays role: theSortRule.
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
private  boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source, which is not the current version.
protected  boolean readVersion(CSMQuerySpec thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setAbstractQueryResults(AbstractQueryResults a_AbstractQueryResults)
          Sets the object for the association that plays role: theAbstractQueryResults.
 void setCSMFetchRule(CSMFetchRule a_CSMFetchRule)
          Sets the object for the association that plays role: theCSMFetchRule.
 void setDirectSearchRule(DirectSearchRule a_DirectSearchRule)
          Sets the object for the association that plays role: theDirectSearchRule.
 void setIndirectResultTarget(IndirectQueryTargetDefaultView a_IndirectResultTarget)
          Sets the value of the attribute: indirectResultTarget.
 void setIndirectSearchRule(Vector a_IndirectSearchRule)
          Sets the object for the association that plays role: theIndirectSearchRule.
 void setResults(Vector results)
          

Supported API: false
 void setSortRule(SortRule a_SortRule)
          Sets the object for the association that plays role: theSortRule.
private  void theAbstractQueryResultsValidate(AbstractQueryResults a_AbstractQueryResults)
           
private  void theDirectSearchRuleValidate(DirectSearchRule a_DirectSearchRule)
           
private  void theSortRuleValidate(SortRule a_SortRule)
           
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

indirectResultTarget

private IndirectQueryTargetDefaultView indirectResultTarget

theSortRule

private SortRule theSortRule

theCSMFetchRule

private CSMFetchRule theCSMFetchRule

theDirectSearchRule

private DirectSearchRule theDirectSearchRule

theIndirectSearchRule

private Vector theIndirectSearchRule

theAbstractQueryResults

private AbstractQueryResults theAbstractQueryResults

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

EXTERNALIZATION_VERSION_UID

public static final long EXTERNALIZATION_VERSION_UID
See Also:
Constant Field Values

OLD_FORMAT_VERSION_UID

protected static final long OLD_FORMAT_VERSION_UID
See Also:
Constant Field Values
Constructor Detail

CSMQuerySpec

public CSMQuerySpec()


Supported API: false


CSMQuerySpec

public CSMQuerySpec(SortRule sortRule,
                    AbstractQueryResults queryResults,
                    CSMFetchRule fetchRule,
                    DirectSearchRule directSearchRule,
                    Vector indirectSearchRules)
             throws CSMQueryException


Supported API: false

Parameters:
sortRule -
queryResults -
fetchRule -
directSearchRule -
indirectSearchRules -
Throws:
CSMQueryException
Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(CSMQuerySpec thisObject,
                              ObjectInput input,
                              long readSerialVersionUID,
                              boolean passThrough,
                              boolean superDone)
                       throws IOException,
                              ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Parameters:
thisObject -
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

readOldVersion

private boolean readOldVersion(ObjectInput input,
                               long readSerialVersionUID,
                               boolean passThrough,
                               boolean superDone)
                        throws IOException,
                               ClassNotFoundException
Reads the non-transient fields of this class from an external source, which is not the current version.

Parameters:
input -
readSerialVersionUID -
passThrough -
superDone -
Returns:
boolean
Throws:
IOException
ClassNotFoundException

getIndirectResultTarget

public IndirectQueryTargetDefaultView getIndirectResultTarget()
Gets the value of the attribute: indirectResultTarget.

Supported API: false

Returns:
IndirectQueryTargetDefaultView

setIndirectResultTarget

public void setIndirectResultTarget(IndirectQueryTargetDefaultView a_IndirectResultTarget)
                             throws WTPropertyVetoException
Sets the value of the attribute: indirectResultTarget.

Supported API: false

Parameters:
a_IndirectResultTarget -
Throws:
WTPropertyVetoException

getSortRule

public SortRule getSortRule()
Gets the object for the association that plays role: theSortRule.

Supported API: false

Returns:
SortRule

setSortRule

public void setSortRule(SortRule a_SortRule)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: theSortRule.

Supported API: false

Parameters:
a_SortRule -
Throws:
WTPropertyVetoException

theSortRuleValidate

private void theSortRuleValidate(SortRule a_SortRule)
                          throws WTPropertyVetoException
Parameters:
a_SortRule -
Throws:
WTPropertyVetoException

getCSMFetchRule

public CSMFetchRule getCSMFetchRule()
Gets the object for the association that plays role: theCSMFetchRule.

Supported API: false

Returns:
CSMFetchRule

setCSMFetchRule

public void setCSMFetchRule(CSMFetchRule a_CSMFetchRule)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: theCSMFetchRule.

Supported API: false

Parameters:
a_CSMFetchRule -
Throws:
WTPropertyVetoException

getDirectSearchRule

public DirectSearchRule getDirectSearchRule()
Gets the object for the association that plays role: theDirectSearchRule.

Supported API: false

Returns:
DirectSearchRule

setDirectSearchRule

public void setDirectSearchRule(DirectSearchRule a_DirectSearchRule)
                         throws WTPropertyVetoException
Sets the object for the association that plays role: theDirectSearchRule.

Supported API: false

Parameters:
a_DirectSearchRule -
Throws:
WTPropertyVetoException

theDirectSearchRuleValidate

private void theDirectSearchRuleValidate(DirectSearchRule a_DirectSearchRule)
                                  throws WTPropertyVetoException
Parameters:
a_DirectSearchRule -
Throws:
WTPropertyVetoException

getIndirectSearchRule

public Vector getIndirectSearchRule()
Gets the object for the association that plays role: theIndirectSearchRule.

Supported API: false

Returns:
Vector

setIndirectSearchRule

public void setIndirectSearchRule(Vector a_IndirectSearchRule)
                           throws WTPropertyVetoException
Sets the object for the association that plays role: theIndirectSearchRule.

Supported API: false

Parameters:
a_IndirectSearchRule -
Throws:
WTPropertyVetoException

getAbstractQueryResults

public AbstractQueryResults getAbstractQueryResults()
Gets the object for the association that plays role: theAbstractQueryResults.

Supported API: false

Returns:
AbstractQueryResults

setAbstractQueryResults

public void setAbstractQueryResults(AbstractQueryResults a_AbstractQueryResults)
                             throws WTPropertyVetoException
Sets the object for the association that plays role: theAbstractQueryResults.

Supported API: false

Parameters:
a_AbstractQueryResults -
Throws:
WTPropertyVetoException

theAbstractQueryResultsValidate

private void theAbstractQueryResultsValidate(AbstractQueryResults a_AbstractQueryResults)
                                      throws WTPropertyVetoException
Parameters:
a_AbstractQueryResults -
Throws:
WTPropertyVetoException

getSearchSpecification

public SearchSpecification getSearchSpecification()
                                           throws CSMQueryException


Supported API: false

Returns:
SearchSpecification
Throws:
CSMQueryException

setResults

public void setResults(Vector results)
                throws WTPropertyVetoException


Supported API: false

Parameters:
results -
Throws:
WTPropertyVetoException