wt.inf.container
Class ContainerSpecWhereCondition

java.lang.Object
  extended bywt.inf.container.ContainerSpecWhereCondition
All Implemented Interfaces:
Externalizable, Serializable, WhereCondition

public final class ContainerSpecWhereCondition
extends Object
implements WhereCondition, Externalizable

Generates a ContainerSpec-based WhereCondition using WTContainerHelper.getWhereContainerIn.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  ContainerSpec containerSpec
           
static long EXTERNALIZATION_VERSION_UID
           
private  int fromIndex
           
private  boolean negate
           
protected static long OLD_FORMAT_VERSION_UID
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface wt.pds.WhereCondition
OUTER_JOIN_FROM_INDICIES
 
Constructor Summary
ContainerSpecWhereCondition()
          

Supported API: false
ContainerSpecWhereCondition(ContainerSpec container_spec, int from_index, boolean negate)
          

Supported API: false
 
Method Summary
 ContainerSpec getContainerSpec()
          Gets the value of the attribute: containerSpec; The ContainerSpec to use to generate a WhereExpression

Supported API: false
 WhereExpression getExpression(Vector a_tables)
          Returns the condition expression based on the specified concreate classes.
 int getFromIndex()
          Gets the value of the attribute: fromIndex; The index of the class in the Vector of table classes passed to getExpression that will be passed to WTContainerHelper.getWhereContainerIn.
 int[] getOuterJoinFromIndicies()
          Gets the value of the attribute: outerJoinFromIndicies; The index values in the From clause for any classes that use an outer join in this condition.
 boolean isNegate()
          Gets the value of the attribute: negate.
 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(ContainerSpecWhereCondition thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setContainerSpec(ContainerSpec a_ContainerSpec)
          Sets the value of the attribute: containerSpec; The ContainerSpec to use to generate a WhereExpression

Supported API: false
 void setFromIndex(int a_FromIndex)
          Sets the value of the attribute: fromIndex; The index of the class in the Vector of table classes passed to getExpression that will be passed to WTContainerHelper.getWhereContainerIn.
 void setNegate(boolean a_Negate)
          Sets the value of the attribute: negate.
 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

containerSpec

private ContainerSpec containerSpec

fromIndex

private int fromIndex

negate

private boolean negate

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

ContainerSpecWhereCondition

public ContainerSpecWhereCondition()


Supported API: false


ContainerSpecWhereCondition

public ContainerSpecWhereCondition(ContainerSpec container_spec,
                                   int from_index,
                                   boolean negate)
                            throws WTException


Supported API: false

Parameters:
container_spec -
from_index -
negate -
Throws:
WTException
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(ContainerSpecWhereCondition 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

getContainerSpec

public ContainerSpec getContainerSpec()
Gets the value of the attribute: containerSpec; The ContainerSpec to use to generate a WhereExpression

Supported API: false

Returns:
ContainerSpec

setContainerSpec

public void setContainerSpec(ContainerSpec a_ContainerSpec)
                      throws WTPropertyVetoException
Sets the value of the attribute: containerSpec; The ContainerSpec to use to generate a WhereExpression

Supported API: false

Parameters:
a_ContainerSpec -
Throws:
WTPropertyVetoException

getFromIndex

public int getFromIndex()
Gets the value of the attribute: fromIndex; The index of the class in the Vector of table classes passed to getExpression that will be passed to WTContainerHelper.getWhereContainerIn.

Supported API: false

Returns:
int

setFromIndex

public void setFromIndex(int a_FromIndex)
                  throws WTPropertyVetoException
Sets the value of the attribute: fromIndex; The index of the class in the Vector of table classes passed to getExpression that will be passed to WTContainerHelper.getWhereContainerIn.

Supported API: false

Parameters:
a_FromIndex -
Throws:
WTPropertyVetoException

isNegate

public boolean isNegate()
Gets the value of the attribute: negate.

Supported API: false

Returns:
boolean

setNegate

public void setNegate(boolean a_Negate)
               throws WTPropertyVetoException
Sets the value of the attribute: negate.

Supported API: false

Parameters:
a_Negate -
Throws:
WTPropertyVetoException

getOuterJoinFromIndicies

public int[] getOuterJoinFromIndicies()
Gets the value of the attribute: outerJoinFromIndicies; The index values in the From clause for any classes that use an outer join in this condition.

Supported API: false

Specified by:
getOuterJoinFromIndicies in interface WhereCondition
Returns:
int[]

getExpression

public WhereExpression getExpression(Vector a_tables)
                              throws WTException
Returns the condition expression based on the specified concreate classes.

Supported API: false

Specified by:
getExpression in interface WhereCondition
Parameters:
a_tables -
Returns:
WhereExpression
Throws:
WTException