|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.expr.Expr<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 class EStringConst
EStringConst represents String constants
| 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()
|
int |
hashCode()
|
EBoolean |
isEmpty()
Return true if this String is empty |
EBoolean |
isNotEmpty()
Return true if this String is not empty |
ENumber<Long> |
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 |
|---|
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.Expr |
|---|
count, countAll, countDistinct, eq, getType, in, in, in, ne, notIn, notIn, notIn, toString, when, when |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static final 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 EStringpublic EString append(String s)
EString
append in class EStringpublic Expr<Character> charAt(int i)
EString
charAt in class EStringString.charAt(int)public EString concat(String s)
EString
concat in class EStringpublic EBoolean eq(String s)
Exprthis == right expression
eq in class Expr<String>s - rhs of the comparison
public boolean equals(Object o)
equals in class Objectpublic EBoolean equalsIgnoreCase(String str)
EStringEString to another EString, ignoring case
considerations.
equalsIgnoreCase in class EStringString.equalsIgnoreCase(String)public String getConstant()
getConstant in interface Constant<String>public int hashCode()
hashCode in class Expr<String>public EBoolean isEmpty()
EString
isEmpty in class EStringString.isEmpty()public EBoolean isNotEmpty()
EString
isNotEmpty in class EStringString.isEmpty()public ENumber<Long> length()
EString
length in class EStringString.length()public EString lower()
EString
lower in class EStringString.toLowerCase()public EBoolean matches(String pattern)
EString
matches in class EStringString.matches(String)public EBoolean ne(String s)
Exprthis <> right expression
ne in class Expr<String>s - rhs of the comparison
public EString prepend(Expr<String> s)
EString
prepend in class EStringpublic EString prepend(String s)
EString
prepend in class EStringpublic Expr<String[]> split(String regex)
EString
split in class EStringString.split(String)public EString substring(int beginIndex)
EString
substring in class EStringString.substring(int)
public EString substring(int beginIndex,
int endIndex)
EString
substring in class EStringString.substring(int, int)public EString toLowerCase()
EString
toLowerCase in class EStringString.toLowerCase()public EString toUpperCase()
EString
toUpperCase in class EStringString.toUpperCase()public EString trim()
EString
trim in class EStringString.trim()public EString upper()
EString
upper in class EStringString.toUpperCase()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||