wt.query.specification
Class DefaultSearchSpecification

java.lang.Object
  extended bywt.query.specification.DefaultSearchSpecification
All Implemented Interfaces:
Externalizable, SearchSpecification, Serializable

public class DefaultSearchSpecification
extends Object
implements SearchSpecification, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  CriteriaSpecification criteria
           
static long EXTERNALIZATION_VERSION_UID
           
private  FetchSpecification fetch
           
private  GroupSpecification group
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
private  ResultSpecification result
           
(package private) static long serialVersionUID
           
private  SortSpecification sort
           
 
Fields inherited from interface wt.query.specification.SearchSpecification
CRITERIA, FETCH, GROUP, RESULT, SORT
 
Constructor Summary
DefaultSearchSpecification()
           
 
Method Summary
private  void criteriaValidate(CriteriaSpecification a_Criteria)
           
 CriteriaSpecification getCriteria()
          Gets the object for the association that plays role: criteria.
 FetchSpecification getFetch()
          Gets the object for the association that plays role: fetch.
 GroupSpecification getGroup()
          Gets the object for the association that plays role: group.
 ResultSpecification getResult()
          Gets the object for the association that plays role: result.
 SortSpecification getSort()
          Gets the object for the association that plays role: sort.
 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(DefaultSearchSpecification thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setCriteria(CriteriaSpecification a_Criteria)
          Sets the object for the association that plays role: criteria.
 void setFetch(FetchSpecification a_Fetch)
          Sets the object for the association that plays role: fetch.
 void setGroup(GroupSpecification a_Group)
          Sets the object for the association that plays role: group.
 void setResult(ResultSpecification a_Result)
          Sets the object for the association that plays role: result.
 void setSort(SortSpecification a_Sort)
          Sets the object for the association that plays role: sort.
 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

criteria

private CriteriaSpecification criteria

fetch

private FetchSpecification fetch

sort

private SortSpecification sort

group

private GroupSpecification group

result

private ResultSpecification result

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

DefaultSearchSpecification

public DefaultSearchSpecification()
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(DefaultSearchSpecification 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

getCriteria

public CriteriaSpecification getCriteria()
Gets the object for the association that plays role: criteria.

Supported API: false

Specified by:
getCriteria in interface SearchSpecification
Returns:
CriteriaSpecification

setCriteria

public void setCriteria(CriteriaSpecification a_Criteria)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: criteria.

Supported API: false

Specified by:
setCriteria in interface SearchSpecification
Parameters:
a_Criteria -
Throws:
WTPropertyVetoException

criteriaValidate

private void criteriaValidate(CriteriaSpecification a_Criteria)
                       throws WTPropertyVetoException
Parameters:
a_Criteria -
Throws:
WTPropertyVetoException

getFetch

public FetchSpecification getFetch()
Gets the object for the association that plays role: fetch.

Supported API: false

Specified by:
getFetch in interface SearchSpecification
Returns:
FetchSpecification

setFetch

public void setFetch(FetchSpecification a_Fetch)
              throws WTPropertyVetoException
Sets the object for the association that plays role: fetch.

Supported API: false

Specified by:
setFetch in interface SearchSpecification
Parameters:
a_Fetch -
Throws:
WTPropertyVetoException

getSort

public SortSpecification getSort()
Gets the object for the association that plays role: sort.

Supported API: false

Specified by:
getSort in interface SearchSpecification
Returns:
SortSpecification

setSort

public void setSort(SortSpecification a_Sort)
             throws WTPropertyVetoException
Sets the object for the association that plays role: sort.

Supported API: false

Specified by:
setSort in interface SearchSpecification
Parameters:
a_Sort -
Throws:
WTPropertyVetoException

getGroup

public GroupSpecification getGroup()
Gets the object for the association that plays role: group.

Supported API: false

Specified by:
getGroup in interface SearchSpecification
Returns:
GroupSpecification

setGroup

public void setGroup(GroupSpecification a_Group)
              throws WTPropertyVetoException
Sets the object for the association that plays role: group.

Supported API: false

Specified by:
setGroup in interface SearchSpecification
Parameters:
a_Group -
Throws:
WTPropertyVetoException

getResult

public ResultSpecification getResult()
Gets the object for the association that plays role: result.

Supported API: false

Specified by:
getResult in interface SearchSpecification
Returns:
ResultSpecification

setResult

public void setResult(ResultSpecification a_Result)
               throws WTPropertyVetoException
Sets the object for the association that plays role: result.

Supported API: false

Specified by:
setResult in interface SearchSpecification
Parameters:
a_Result -
Throws:
WTPropertyVetoException