|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mysema.query.types.Expr<D> com.mysema.query.types.expr.ESimple<D> com.mysema.query.types.expr.EComparableBase<D> com.mysema.query.types.expr.EComparable<String> com.mysema.query.types.expr.EString com.mysema.query.types.expr.EStringConst
public final class EStringConst
EStringConst represents String constants
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Method Summary | |
---|---|
void |
accept(Visitor v)
|
EString |
append(Expr<String> s)
Get the concatenation of this and str |
EString |
append(String s)
Get the concatenation of this and str |
Expr<Character> |
charAt(int i)
Get the character at the given index |
EString |
concat(String s)
Get the concatenation of this and str |
static EString |
create(String str)
Factory method for constants |
static EString |
create(String str,
boolean populateCache)
|
EBoolean |
eq(String s)
Get a this == right expression |
boolean |
equals(Object o)
|
EBoolean |
equalsIgnoreCase(String str)
Compares this EString to another EString , ignoring case
considerations. |
String |
getConstant()
Get the constant |
int |
hashCode()
|
EBoolean |
isEmpty()
Return true if this String is empty |
EBoolean |
isNotEmpty()
Return true if this String is not empty |
ENumber<Integer> |
length()
Return the length of this String |
EString |
lower()
Get the lower case form |
EBoolean |
matches(String pattern)
Return true if this String matches the given regular expression |
EBoolean |
ne(String s)
Get a this <> right expression |
EString |
prepend(Expr<String> s)
Prepend the given String and return the result |
EString |
prepend(String s)
Prepend the given String and return the result |
Expr<String[]> |
split(String regex)
Split the given String with regex as the matcher for the separator |
EString |
substring(int beginIndex)
Get the given substring |
EString |
substring(int beginIndex,
int endIndex)
Get the given substring |
EString |
toLowerCase()
Get the lower case form |
EString |
toUpperCase()
Get the upper case form |
EString |
trim()
Get a copy of the string, with leading and trailing whitespace omitted. |
EString |
upper()
Get the upper case form |
Methods inherited from class com.mysema.query.types.expr.EString |
---|
as, charAt, concat, contains, contains, contains, contains, endsWith, endsWith, endsWith, endsWith, equalsIgnoreCase, indexOf, indexOf, indexOf, indexOf, like, like, matches, startsWith, startsWith, startsWith, startsWith, stringValue |
Methods inherited from class com.mysema.query.types.expr.EComparable |
---|
between, between, goe, goe, gt, gt, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.EComparableBase |
---|
asc, castToNum, desc |
Methods inherited from class com.mysema.query.types.expr.ESimple |
---|
count, countDistinct, eq, in, in, in, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
asExpr, getType, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Constant |
---|
asExpr |
Method Detail |
---|
public static EString create(String str)
str
-
public static EString create(String str, boolean populateCache)
public void accept(Visitor v)
accept
in class Expr<String>
public EString append(Expr<String> s)
EString
append
in class EString
public EString append(String s)
EString
append
in class EString
public Expr<Character> charAt(int i)
EString
charAt
in class EString
String.charAt(int)
public EString concat(String s)
EString
concat
in class EString
public EBoolean eq(String s)
Expr
this == right
expression
eq
in class ESimple<String>
s
- rhs of the comparison
public boolean equals(Object o)
equals
in class Expr<String>
public EBoolean equalsIgnoreCase(String str)
EString
EString
to another EString
, ignoring case
considerations.
equalsIgnoreCase
in class EString
String.equalsIgnoreCase(String)
public String getConstant()
Constant
getConstant
in interface Constant<String>
public int hashCode()
hashCode
in class Expr<String>
public EBoolean isEmpty()
EString
isEmpty
in class EString
String.isEmpty()
public EBoolean isNotEmpty()
EString
isNotEmpty
in class EString
String.isEmpty()
public ENumber<Integer> length()
EString
length
in class EString
String.length()
public EString lower()
EString
lower
in class EString
String.toLowerCase()
public EBoolean matches(String pattern)
EString
matches
in class EString
String.matches(String)
public EBoolean ne(String s)
Expr
this <> right
expression
ne
in class ESimple<String>
s
- rhs of the comparison
public EString prepend(Expr<String> s)
EString
prepend
in class EString
public EString prepend(String s)
EString
prepend
in class EString
public Expr<String[]> split(String regex)
EString
split
in class EString
String.split(String)
public EString substring(int beginIndex)
EString
substring
in class EString
String.substring(int)
public EString substring(int beginIndex, int endIndex)
EString
substring
in class EString
String.substring(int, int)
public EString toLowerCase()
EString
toLowerCase
in class EString
String.toLowerCase()
public EString toUpperCase()
EString
toUpperCase
in class EString
String.toUpperCase()
public EString trim()
EString
trim
in class EString
String.trim()
public EString upper()
EString
upper
in class EString
String.toUpperCase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |