com.mysema.query.types.path
Class PathMetadataFactory

java.lang.Object
  extended by com.mysema.query.types.path.PathMetadataFactory

public final class PathMetadataFactory
extends Object

Author:
tiwe

Method Summary
static PathMetadata<Integer> forArrayAccess(PArray<?> parent, Expr<Integer> index)
           
static PathMetadata<Integer> forArrayAccess(PArray<?> parent, int index)
           
static
<T> PathMetadata<T>
forDelegate(Expr<T> target)
           
static PathMetadata<Integer> forListAccess(PList<?,?> parent, Expr<Integer> index)
           
static PathMetadata<Integer> forListAccess(PList<?,?> parent, int index)
           
static
<KT> PathMetadata<KT>
forMapAccess(PMap<?,?,?> parent, Expr<KT> key)
           
static
<KT> PathMetadata<KT>
forMapAccess(PMap<?,?,?> parent, KT key)
           
static PathMetadata<String> forProperty(Path<?> parent, String property)
           
static PathMetadata<String> forVariable(String variable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forArrayAccess

public static PathMetadata<Integer> forArrayAccess(PArray<?> parent,
                                                   Expr<Integer> index)

forArrayAccess

public static PathMetadata<Integer> forArrayAccess(PArray<?> parent,
                                                   @Nonnegative
                                                   int index)

forDelegate

public static <T> PathMetadata<T> forDelegate(Expr<T> target)

forListAccess

public static PathMetadata<Integer> forListAccess(PList<?,?> parent,
                                                  Expr<Integer> index)

forListAccess

public static PathMetadata<Integer> forListAccess(PList<?,?> parent,
                                                  @Nonnegative
                                                  int index)

forMapAccess

public static <KT> PathMetadata<KT> forMapAccess(PMap<?,?,?> parent,
                                                 Expr<KT> key)

forMapAccess

public static <KT> PathMetadata<KT> forMapAccess(PMap<?,?,?> parent,
                                                 KT key)

forProperty

public static PathMetadata<String> forProperty(Path<?> parent,
                                               String property)

forVariable

public static PathMetadata<String> forVariable(String variable)


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