com.mysema.query.support
Class OrderedQueryMetadata

java.lang.Object
  extended by com.mysema.query.DefaultQueryMetadata
      extended by com.mysema.query.support.OrderedQueryMetadata
All Implemented Interfaces:
QueryMetadata, Serializable, Cloneable

public class OrderedQueryMetadata
extends DefaultQueryMetadata

OrderedQueryMetadata performs no metadata validation and ensures that FROM elements are before JOIN elements

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
OrderedQueryMetadata()
           
 
Method Summary
 void addJoin(JoinExpression... j)
          Add the given query join
 void addJoin(JoinType joinType, Expression<?> expr)
          Add the given query join
 void addJoinCondition(Predicate o)
          Add the given join condition to the last given join
 QueryMetadata clone()
          Clone this QueryMetadata instance
 List<JoinExpression> getJoins()
          Get the query joins
 
Methods inherited from class com.mysema.query.DefaultQueryMetadata
addFlag, addGroupBy, addHaving, addOrderBy, addProjection, addWhere, clearOrderBy, clearProjection, clearWhere, equals, getFlags, getGroupBy, getHaving, getModifiers, getOrderBy, getParams, getProjection, getWhere, hasFlag, hashCode, isDistinct, isUnique, noValidate, reset, setDistinct, setLimit, setModifiers, setOffset, setParam, setUnique, setValidate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderedQueryMetadata

public OrderedQueryMetadata()
Method Detail

addJoin

public void addJoin(JoinExpression... j)
Description copied from interface: QueryMetadata
Add the given query join

Specified by:
addJoin in interface QueryMetadata
Overrides:
addJoin in class DefaultQueryMetadata

addJoin

public void addJoin(JoinType joinType,
                    Expression<?> expr)
Description copied from interface: QueryMetadata
Add the given query join

Specified by:
addJoin in interface QueryMetadata
Overrides:
addJoin in class DefaultQueryMetadata

addJoinCondition

public void addJoinCondition(Predicate o)
Description copied from interface: QueryMetadata
Add the given join condition to the last given join

Specified by:
addJoinCondition in interface QueryMetadata
Overrides:
addJoinCondition in class DefaultQueryMetadata

clone

public QueryMetadata clone()
Description copied from interface: QueryMetadata
Clone this QueryMetadata instance

Specified by:
clone in interface QueryMetadata
Overrides:
clone in class DefaultQueryMetadata
Returns:

getJoins

public List<JoinExpression> getJoins()
Description copied from interface: QueryMetadata
Get the query joins

Specified by:
getJoins in interface QueryMetadata
Overrides:
getJoins in class DefaultQueryMetadata
Returns:


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