public class ValueStringIgnoreCase extends ValueString
Value.ValueBlob, Value.ValueClob
value
ARRAY, BLOB, BOOLEAN, BYTE, BYTES, CLOB, DATE, DECIMAL, DOUBLE, FLOAT, INT, JAVA_OBJECT, LONG, NULL, RESULT_SET, SHORT, STRING, STRING_FIXED, STRING_IGNORECASE, TIME, TIMESTAMP, TYPE_COUNT, UNKNOWN, UUID
Modifier | Constructor and Description |
---|---|
protected |
ValueStringIgnoreCase(String value) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareSecure(Value o,
CompareMode mode)
Compare the value with another value of the same type.
|
boolean |
equals(Object other)
Check if the two values have the same hash code.
|
static ValueStringIgnoreCase |
get(String s)
Get or create a case insensitive string value for the given string.
|
protected ValueString |
getNew(String s)
Create a new String value of the current class.
|
String |
getSQL()
Get the SQL expression for this value.
|
int |
getType()
Get the value type.
|
int |
hashCode() |
convertPrecision, getDisplaySize, getMemory, getObject, getPrecision, getString, set
add, checkPrecision, clearCache, close, compareTo, compareTypeSave, convertScale, convertTo, copyToTemp, divide, getBigDecimal, getBoolean, getByte, getBytes, getBytesNoCopy, getDate, getDouble, getFloat, getHigherOrder, getInputStream, getInt, getLong, getReader, getResultSet, getScale, getShort, getSignum, getSmall, getTableId, getTime, getTimestamp, getTraceSQL, isFileBased, isLinked, link, modulus, multiply, negate, subtract, throwUnsupportedExceptionForType, toString, unlink
protected ValueStringIgnoreCase(String value)
public int getType()
Value
getType
in class ValueString
protected int compareSecure(Value o, CompareMode mode)
Value
compareSecure
in class ValueString
o
- the other valuemode
- the compare modepublic boolean equals(Object other)
Value
equals
in class ValueString
other
- the other valuepublic int hashCode()
hashCode
in class ValueString
public String getSQL()
Value
getSQL
in class ValueString
public static ValueStringIgnoreCase get(String s)
s
- the stringprotected ValueString getNew(String s)
ValueString
getNew
in class ValueString
s
- the stringCopyright © 2012 JBoss by Red Hat. All Rights Reserved.