org.mmbase.storage.search.legacy
Class DBWildcardStringValue

Package class diagram package DBWildcardStringValue
java.lang.Object
  extended by org.mmbase.storage.search.legacy.ParseItem
      extended by org.mmbase.storage.search.legacy.DBValue
          extended by org.mmbase.storage.search.legacy.DBWildcardStringValue

 class DBWildcardStringValue
extends DBValue

Class for storing and converting string values with wildcards. Wraps the result with quotes and replaces any wildcards with SQL-wildcards.


Constructor Summary
DBWildcardStringValue(String value)
          Creates the wildcarded string value
 
Method Summary
 void sqlConversion(StringBuffer result)
          Appends the converted value to the stringbuffer.
 
Methods inherited from class org.mmbase.storage.search.legacy.DBValue
abstractCreation, getValue, setValue
 
Methods inherited from class org.mmbase.storage.search.legacy.ParseItem
sqlConversion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBWildcardStringValue

public DBWildcardStringValue(String value)
Creates the wildcarded string value

Method Detail

sqlConversion

public void sqlConversion(StringBuffer result)
Appends the converted value to the stringbuffer.

Parameters:
result - the stringbuffer to which to add the expression


MMBase2 Core 2.0-SNAPSHOT - 2013-03-30T06:36