com.mysema.query.types
Class Param<T>

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<T>
          extended by com.mysema.query.types.Param<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable

public class Param<T>
extends ESimple<T>

Param defines a parameter in a query with an optional name

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
Param(Class<? extends T> type)
           
Param(Class<? extends T> type, String name)
           
 
Method Summary
 void accept(Visitor v)
           
 boolean equals(Object o)
           
 String getName()
           
 String getNotSetMessage()
           
 int hashCode()
           
 boolean isAnon()
           
 
Methods inherited from class com.mysema.query.types.expr.ESimple
as, 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
 

Constructor Detail

Param

public Param(Class<? extends T> type,
             String name)

Param

public Param(Class<? extends T> type)
Method Detail

accept

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

equals

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

hashCode

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

getName

public String getName()

isAnon

public boolean isAnon()

getNotSetMessage

public String getNotSetMessage()


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