com.mysema.query.types.operation
Class OString

java.lang.Object
  extended by com.mysema.query.types.expr.Expr<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.operation.OString
All Implemented Interfaces:
Operation<String,String>, Serializable

public class OString
extends EString
implements Operation<String,String>

OString represents a String typed operation

Author:
tiwe
See Also:
Serialized Form

Method Summary
 void accept(Visitor v)
           
 EString asExpr()
           
static EString create(Operator<String> op, Expr<?>... args)
           
 Expr<?> getArg(int index)
          Get the argument with the given index
 List<Expr<?>> getArgs()
          Get the arguments of this operation
 Operator<String> getOperator()
          Get the operator symbol for this operation
 
Methods inherited from class com.mysema.query.types.expr.EString
append, append, 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, 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, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.operation.Operation
getType
 

Method Detail

create

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

accept

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

asExpr

public EString asExpr()
Specified by:
asExpr in interface Operation<String,String>
Returns:

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,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,String>
Returns:

getOperator

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

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


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