com.mysema.query
Class QueryFlag

java.lang.Object
  extended by com.mysema.query.QueryFlag
All Implemented Interfaces:
Serializable

public class QueryFlag
extends Object
implements Serializable

Defines a positioned flag in a Query for customization of query serialization

Author:
tiwe
See Also:
Serialized Form

Nested Class Summary
static class QueryFlag.Position
           
 
Constructor Summary
QueryFlag(QueryFlag.Position position, Expression<?> flag)
           
QueryFlag(QueryFlag.Position position, String flag)
           
 
Method Summary
 boolean equals(Object obj)
           
 Expression<?> getFlag()
           
 QueryFlag.Position getPosition()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryFlag

public QueryFlag(QueryFlag.Position position,
                 String flag)

QueryFlag

public QueryFlag(QueryFlag.Position position,
                 Expression<?> flag)
Method Detail

getPosition

public QueryFlag.Position getPosition()

getFlag

public Expression<?> getFlag()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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