wt.query.specification
Class AbstractAttributeSearchExp

java.lang.Object
  extended bywt.query.specification.AbstractAttributeSearchExp
All Implemented Interfaces:
AttributeSearchExp, Externalizable, SearchExpression, Serializable
Direct Known Subclasses:
DefaultDependentAttrSearchExp, DefaultIndependentAttrSearchExp

public abstract class AbstractAttributeSearchExp
extends Object
implements AttributeSearchExp, Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static long EXTERNALIZATION_VERSION_UID
           
private  AttributeIdentifier identifier
           
protected static long OLD_FORMAT_VERSION_UID
           
private  OperatorType operator
           
private  boolean processIdentifierHierarchically
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private  AttributeValueCriteria value
           
 
Fields inherited from interface wt.query.specification.AttributeSearchExp
IDENTIFIER, OPERATOR, PROCESS_IDENTIFIER_HIERARCHICALLY, VALUE
 
Constructor Summary
AbstractAttributeSearchExp()
           
 
Method Summary
 AttributeIdentifier getIdentifier()
          Gets the object for the association that plays role: identifier.
 OperatorType getOperator()
          Gets the object for the association that plays role: operator.
 AttributeValueCriteria getValue()
          Gets the object for the association that plays role: value.
private  void identifierValidate(AttributeIdentifier a_Identifier)
           
 boolean isProcessIdentifierHierarchically()
          Gets the value of the attribute: processIdentifierHierarchically.
 int maxSubExpression()
          

Supported API: false
 int minSubExpression()
          

Supported API: false
private  void operatorValidate(OperatorType a_Operator)
           
 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(AbstractAttributeSearchExp thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setIdentifier(AttributeIdentifier a_Identifier)
          Sets the object for the association that plays role: identifier.
 void setOperator(OperatorType a_Operator)
          Sets the object for the association that plays role: operator.
 void setProcessIdentifierHierarchically(boolean a_ProcessIdentifierHierarchically)
          Sets the value of the attribute: processIdentifierHierarchically.
 void setValue(AttributeValueCriteria a_Value)
          Sets the object for the association that plays role: value.
protected  void validateOperator(AttributeIdentifier an_identifier, OperatorType an_operator)
          

Supported API: false
private  void valueValidate(AttributeValueCriteria a_Value)
           
 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

processIdentifierHierarchically

private boolean processIdentifierHierarchically

value

private AttributeValueCriteria value

identifier

private AttributeIdentifier identifier

operator

private OperatorType operator

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

AbstractAttributeSearchExp

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

validateOperator

protected void validateOperator(AttributeIdentifier an_identifier,
                                OperatorType an_operator)
                         throws WTPropertyVetoException


Supported API: false

Parameters:
an_identifier -
an_operator -
Throws:
WTPropertyVetoException

maxSubExpression

public int maxSubExpression()


Supported API: false

Specified by:
maxSubExpression in interface SearchExpression
Returns:
int

minSubExpression

public int minSubExpression()


Supported API: false

Specified by:
minSubExpression in interface SearchExpression
Returns:
int

isProcessIdentifierHierarchically

public boolean isProcessIdentifierHierarchically()
Gets the value of the attribute: processIdentifierHierarchically.

Supported API: false

Specified by:
isProcessIdentifierHierarchically in interface AttributeSearchExp
Returns:
boolean

setProcessIdentifierHierarchically

public void setProcessIdentifierHierarchically(boolean a_ProcessIdentifierHierarchically)
                                        throws WTPropertyVetoException
Sets the value of the attribute: processIdentifierHierarchically.

Supported API: false

Specified by:
setProcessIdentifierHierarchically in interface AttributeSearchExp
Parameters:
a_ProcessIdentifierHierarchically -
Throws:
WTPropertyVetoException

getValue

public AttributeValueCriteria getValue()
Gets the object for the association that plays role: value.

Supported API: false

Specified by:
getValue in interface AttributeSearchExp
Returns:
AttributeValueCriteria

setValue

public void setValue(AttributeValueCriteria a_Value)
              throws WTPropertyVetoException
Sets the object for the association that plays role: value.

Supported API: false

Specified by:
setValue in interface AttributeSearchExp
Parameters:
a_Value -
Throws:
WTPropertyVetoException

valueValidate

private void valueValidate(AttributeValueCriteria a_Value)
                    throws WTPropertyVetoException
Parameters:
a_Value -
Throws:
WTPropertyVetoException

getIdentifier

public AttributeIdentifier getIdentifier()
Gets the object for the association that plays role: identifier.

Supported API: false

Specified by:
getIdentifier in interface AttributeSearchExp
Returns:
AttributeIdentifier

setIdentifier

public void setIdentifier(AttributeIdentifier a_Identifier)
                   throws WTPropertyVetoException
Sets the object for the association that plays role: identifier.

Supported API: false

Specified by:
setIdentifier in interface AttributeSearchExp
Parameters:
a_Identifier -
Throws:
WTPropertyVetoException

identifierValidate

private void identifierValidate(AttributeIdentifier a_Identifier)
                         throws WTPropertyVetoException
Parameters:
a_Identifier -
Throws:
WTPropertyVetoException

getOperator

public OperatorType getOperator()
Gets the object for the association that plays role: operator.

Supported API: false

Specified by:
getOperator in interface AttributeSearchExp
Returns:
OperatorType

setOperator

public void setOperator(OperatorType a_Operator)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: operator.

Supported API: false

Specified by:
setOperator in interface AttributeSearchExp
Parameters:
a_Operator -
Throws:
WTPropertyVetoException

operatorValidate

private void operatorValidate(OperatorType a_Operator)
                       throws WTPropertyVetoException
Parameters:
a_Operator -
Throws:
WTPropertyVetoException