wt.csm.query
Class AbstractCSMQueryContainer

java.lang.Object
  extended bywt.csm.query.AbstractCSMQueryContainer
All Implemented Interfaces:
Enumeration, Externalizable, Serializable
Direct Known Subclasses:
DiscreteCSMQueryContainer, MinMaxCSMQueryContainer

public abstract class AbstractCSMQueryContainer
extends Object
implements Enumeration, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  int count
           
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  Vector spec
           
 
Constructor Summary
AbstractCSMQueryContainer()
          

Supported API: false
AbstractCSMQueryContainer(Vector querySpecs)
          

Supported API: false
 
Method Summary
 IndirectQueryTargetDefaultView getIndirectResultTarget()
          Gets the value of the attribute: indirectResultTarget.
 void getQueryInformation()
           
static void getQueryInformation(SearchSpecification spec)
           
 Vector getSpec()
          Gets the object for the association that plays role: spec.
 String getTargetClassName()
           
 boolean hasMoreElements()
          

Supported API: false
 Object nextElement()
          

Supported API: false
static void printCriteriaSpec(DefaultCriteriaSpecification spec, String prefix)
           
static void printFetchSpec(FetchSpecification spec, String prefix)
           
static void printQueryAttribute(DefaultInstanceAttributeIdentifier attribute, String prefix)
           
static void printQueryDependency(DependentAttrSearchExp exp, String prefix)
           
static void printQueryValue(AttributeValueCriteria value, String prefix)
           
static void printSearchExpression(SearchExpression exp, String prefix)
           
static void printSelectionSpec(DefaultClassSearchSpec spec, String prefix)
           
static void printSortSpec(SortSpecification spec, String prefix)
           
 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(AbstractCSMQueryContainer thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setIndirectResultTarget(IndirectQueryTargetDefaultView a_IndirectResultTarget)
          Sets the value of the attribute: indirectResultTarget.
 void setSpec(Vector a_Spec)
          Sets the object for the association that plays role: spec.
 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

spec

private Vector spec

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

count

private int count
Constructor Detail

AbstractCSMQueryContainer

public AbstractCSMQueryContainer(Vector querySpecs)


Supported API: false

Parameters:
querySpecs -

AbstractCSMQueryContainer

public AbstractCSMQueryContainer()


Supported API: false

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(AbstractCSMQueryContainer 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

getSpec

public Vector getSpec()
Gets the object for the association that plays role: spec.

Supported API: false

Returns:
Vector

setSpec

public void setSpec(Vector a_Spec)
             throws WTPropertyVetoException
Sets the object for the association that plays role: spec.

Supported API: false

Parameters:
a_Spec -
Throws:
WTPropertyVetoException

hasMoreElements

public boolean hasMoreElements()


Supported API: false

Specified by:
hasMoreElements in interface Enumeration
Returns:
boolean

nextElement

public Object nextElement()


Supported API: false

Specified by:
nextElement in interface Enumeration
Returns:
Object

getTargetClassName

public String getTargetClassName()
                          throws CSMQueryException
Throws:
CSMQueryException

getQueryInformation

public void getQueryInformation()
                         throws CSMQueryException
Throws:
CSMQueryException

getQueryInformation

public static void getQueryInformation(SearchSpecification spec)

printFetchSpec

public static void printFetchSpec(FetchSpecification spec,
                                  String prefix)

printSortSpec

public static void printSortSpec(SortSpecification spec,
                                 String prefix)

printCriteriaSpec

public static void printCriteriaSpec(DefaultCriteriaSpecification spec,
                                     String prefix)

printSelectionSpec

public static void printSelectionSpec(DefaultClassSearchSpec spec,
                                      String prefix)

printSearchExpression

public static void printSearchExpression(SearchExpression exp,
                                         String prefix)

printQueryDependency

public static void printQueryDependency(DependentAttrSearchExp exp,
                                        String prefix)

printQueryAttribute

public static void printQueryAttribute(DefaultInstanceAttributeIdentifier attribute,
                                       String prefix)

printQueryValue

public static void printQueryValue(AttributeValueCriteria value,
                                   String prefix)