com.mysema.query.types.expr
Class OString

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<D>
          extended by com.mysema.query.types.expr.EComparableBase<D>
              extended by com.mysema.query.types.expr.EComparable<String>
                  extended by com.mysema.query.types.expr.EString
                      extended by com.mysema.query.types.expr.OString
All Implemented Interfaces:
Operation<String>, Serializable

public class OString
extends EString
implements Operation<String>

OString represents a String typed operation

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Method Summary
 void accept(Visitor v)
           
static EString create(Operator<? super String> op, Expr<?>... args)
           
 boolean equals(Object o)
           
 Expr<?> getArg(int index)
          Get the argument with the given index
 List<Expr<?>> getArgs()
          Get the arguments of this operation
 Operator<? super String> getOperator()
          Get the operator symbol for this operation
 int hashCode()
           
 
Methods inherited from class com.mysema.query.types.expr.EString
append, append, as, charAt, charAt, concat, concat, contains, contains, contains, contains, endsWith, endsWith, endsWith, endsWith, equalsIgnoreCase, equalsIgnoreCase, indexOf, indexOf, indexOf, indexOf, isEmpty, isNotEmpty, length, like, like, lower, matches, matches, prepend, prepend, split, startsWith, startsWith, startsWith, startsWith, stringValue, substring, substring, toLowerCase, toUpperCase, trim, upper
 
Methods inherited from class com.mysema.query.types.expr.EComparable
between, between, goe, goe, gt, gt, in, 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
asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
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.Operation
asExpr, getType
 

Method Detail

create

public static EString create(Operator<? super String> op,
                             Expr<?>... args)

accept

public void accept(Visitor v)
Specified by:
accept in class Expr<String>

getArg

public Expr<?> getArg(int index)
Description copied from interface: Operation
Get the argument with the given index

Specified by:
getArg in interface Operation<String>
Returns:

getArgs

public List<Expr<?>> getArgs()
Description copied from interface: Operation
Get the arguments of this operation

Specified by:
getArgs in interface Operation<String>
Returns:

getOperator

public Operator<? super String> getOperator()
Description copied from interface: Operation
Get the operator symbol for this operation

Specified by:
getOperator in interface Operation<String>
Returns:

equals

public boolean equals(Object o)
Specified by:
equals in class Expr<String>

hashCode

public int hashCode()
Overrides:
hashCode in class Expr<String>


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.