wt.csm.navigation.litenavigation
Class LikeQFElementValueDefaultView

java.lang.Object
  extended bywt.lite.AbstractLiteObject
      extended bywt.csm.navigation.litenavigation.AbstractQFElementValueView
          extended bywt.csm.navigation.litenavigation.LikeQFElementValueDefaultView
All Implemented Interfaces:
Cloneable, CloneUpdateable, Externalizable, InnerObjectState, Liteable, LocalizedStringDisplayable, Serializable

public class LikeQFElementValueDefaultView
extends AbstractQFElementValueView
implements Externalizable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
static String escChar
           
private  String exceptionMessageLikeNotString
           
static long EXTERNALIZATION_VERSION_UID
           
protected static long OLD_FORMAT_VERSION_UID
           
static int OPERATOR_CONTAINS
          

Supported API: false
static int OPERATOR_ENDS_WITH
          

Supported API: false
static int OPERATOR_EXACT
          

Supported API: false
static int OPERATOR_STARTS_WITH
          

Supported API: false
private static String QUERY_RESOURCE
           
private  int queryOperator
           
protected static ResourceBundle queryResource
           
private static String RESOURCE
           
(package private) static long serialVersionUID
           
private static String spChars
           
private  AbstractValueView value
           
 
Fields inherited from class wt.csm.navigation.litenavigation.AbstractQFElementValueView
 
Fields inherited from class wt.lite.AbstractLiteObject
ILLEGAL_ACCESS, SERVER
 
Fields inherited from interface wt.lite.InnerObjectState
CHANGED_STATE, DELETED_STATE, KEY, NEW_STATE, STATE, UNCHANGED_STATE, UNINITIALIZED_STATE
 
Fields inherited from interface wt.lite.Liteable
UPDATE_COUNT
 
Constructor Summary
LikeQFElementValueDefaultView()
          

Supported API: false
LikeQFElementValueDefaultView(int updateCount, ObjectIdentifier objectID, AttributeDefDefaultView attributeDefinition, AbstractValueView value, int queryOperator)
          

Supported API: false
 
Method Summary
 Object clone()
          

Supported API: false
static String escapeSpecialCharacters(String str)
           
 String getLocalizedDisplayString()
          

Supported API: false
 int getQueryOperator()
          Gets the value of the attribute: queryOperator.
 AbstractAttributeSearchExp getSearchExpression(AttributeDefDefaultView def, AttributeDefDefaultView dependency)
          

Supported API: false
 AbstractValueView getValue()
          Gets the value of the attribute: value.
protected  void initResource()
           
 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(LikeQFElementValueDefaultView thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone)
          Reads the non-transient fields of this class from an external source.
 void setQueryOperator(int a_QueryOperator)
          Sets the value of the attribute: queryOperator.
 void setValue(AbstractValueView a_Value)
          Sets the value of the attribute: value.
 void update(CloneUpdateable clone)
          

Supported API: false
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class wt.csm.navigation.litenavigation.AbstractQFElementValueView
getKey, getQueryObjectArrayFromValue, getQueryObjectFromValue, getSearchExpression, getState, isDirty, isNot, readVersion, setKey, setNot, setState, setStateDirty
 
Methods inherited from class wt.lite.AbstractLiteObject
compareUpdateCount, getHeavyObjectClassname, getObjectID, getUpdateCount, isPersistedObjectEqual, readVersion, setLocalizedDisplayString, setObjectID, setUpdateCount
 
Methods inherited from class java.lang.Object
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

value

private AbstractValueView value

queryOperator

private int queryOperator

OPERATOR_CONTAINS

public static final int OPERATOR_CONTAINS


Supported API: false

See Also:
Constant Field Values

OPERATOR_STARTS_WITH

public static final int OPERATOR_STARTS_WITH


Supported API: false

See Also:
Constant Field Values

OPERATOR_ENDS_WITH

public static final int OPERATOR_ENDS_WITH


Supported API: false

See Also:
Constant Field Values

OPERATOR_EXACT

public static final int OPERATOR_EXACT


Supported API: false

See Also:
Constant Field Values

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

queryResource

protected static ResourceBundle queryResource

QUERY_RESOURCE

private static String QUERY_RESOURCE

exceptionMessageLikeNotString

private String exceptionMessageLikeNotString

spChars

private static final String spChars
See Also:
Constant Field Values

escChar

public static final String escChar
See Also:
Constant Field Values
Constructor Detail

LikeQFElementValueDefaultView

public LikeQFElementValueDefaultView(int updateCount,
                                     ObjectIdentifier objectID,
                                     AttributeDefDefaultView attributeDefinition,
                                     AbstractValueView value,
                                     int queryOperator)
                              throws CSMClassificationNavigationException


Supported API: false

Parameters:
updateCount -
objectID -
attributeDefinition -
value -
queryOperator -
Throws:
CSMClassificationNavigationException

LikeQFElementValueDefaultView

public LikeQFElementValueDefaultView()


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
Overrides:
writeExternal in class AbstractQFElementValueView
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
Overrides:
readExternal in class AbstractQFElementValueView
Parameters:
input -
Throws:
IOException
ClassNotFoundException

readVersion

protected boolean readVersion(LikeQFElementValueDefaultView 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

getValue

public AbstractValueView getValue()
Gets the value of the attribute: value.

Supported API: false

Returns:
AbstractValueView

setValue

public void setValue(AbstractValueView a_Value)
              throws WTPropertyVetoException
Sets the value of the attribute: value.

Supported API: false

Parameters:
a_Value -
Throws:
WTPropertyVetoException

getQueryOperator

public int getQueryOperator()
Gets the value of the attribute: queryOperator.

Supported API: false

Returns:
int

setQueryOperator

public void setQueryOperator(int a_QueryOperator)
                      throws WTPropertyVetoException
Sets the value of the attribute: queryOperator.

Supported API: false

Parameters:
a_QueryOperator -
Throws:
WTPropertyVetoException

update

public void update(CloneUpdateable clone)
            throws WTException


Supported API: false

Specified by:
update in interface CloneUpdateable
Overrides:
update in class AbstractQFElementValueView
Parameters:
clone -
Throws:
WTException

clone

public Object clone()


Supported API: false

Overrides:
clone in class AbstractQFElementValueView
Returns:
Object

getSearchExpression

public AbstractAttributeSearchExp getSearchExpression(AttributeDefDefaultView def,
                                                      AttributeDefDefaultView dependency)
                                               throws CSMQueryException


Supported API: false

Overrides:
getSearchExpression in class AbstractQFElementValueView
Parameters:
def -
dependency -
Returns:
AbstractAttributeSearchExp
Throws:
CSMQueryException

getLocalizedDisplayString

public String getLocalizedDisplayString()


Supported API: false

Specified by:
getLocalizedDisplayString in interface LocalizedStringDisplayable
Specified by:
getLocalizedDisplayString in class AbstractQFElementValueView
Returns:
String

initResource

protected void initResource()

escapeSpecialCharacters

public static String escapeSpecialCharacters(String str)