| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.types.ExpressionBase<T>
com.mysema.query.types.expr.SimpleExpression<T>
com.mysema.query.types.path.BeanPath<T>
com.mysema.query.sql.RelationalPathBase<T>
T - entity typepublic class RelationalPathBase<T>
RelationalPathBase is a base class for RelationPath implements
| Field Summary | 
|---|
| Fields inherited from class com.mysema.query.types.expr.SimpleExpression | 
|---|
primitive | 
| Fields inherited from class com.mysema.query.types.ExpressionBase | 
|---|
type | 
| Constructor Summary | |
|---|---|
RelationalPathBase(Class<? extends T> type,
                   PathMetadata<?> metadata)
 | 
|
RelationalPathBase(Class<? extends T> type,
                   String variable)
 | 
|
| Method Summary | ||
|---|---|---|
protected 
 | 
add(P path)
Template method for tracking child path creation  | 
|
 Path<?>[] | 
all()
 | 
|
protected 
 | 
createForeignKey(List<? extends Path<?>> local,
                 List<String> foreign)
 | 
|
protected 
 | 
createForeignKey(Path<?> local,
                 String foreign)
 | 
|
protected 
 | 
createInvForeignKey(List<? extends Path<?>> local,
                    List<String> foreign)
 | 
|
protected 
 | 
createInvForeignKey(Path<?> local,
                    String foreign)
 | 
|
protected  PrimaryKey<T> | 
createPrimaryKey(Path<?>... columns)
 | 
|
 List<Path<?>> | 
getColumns()
Get all columns  | 
|
 Collection<ForeignKey<?>> | 
getForeignKeys()
Get the foreign keys for this relation  | 
|
 Collection<ForeignKey<?>> | 
getInverseForeignKeys()
Get the inverse foreign keys for this relation  | 
|
 PrimaryKey<T> | 
getPrimaryKey()
Get the primary key for this relation or null if none exists  | 
|
 String | 
getSchemaName()
Get the schema name  | 
|
 String | 
getTableName()
Get the table name  | 
|
| Methods inherited from class com.mysema.query.types.path.BeanPath | 
|---|
accept, as, createArray, createBoolean, createCollection, createComparable, createDate, createDateTime, createEnum, createList, createMap, createNumber, createSet, createSimple, createString, createTime, equals, forProperty, getAnnotatedElement, getMetadata, getRoot, hashCode, instanceOf | 
| Methods inherited from class com.mysema.query.types.expr.SimpleExpression | 
|---|
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when | 
| Methods inherited from class com.mysema.query.types.ExpressionBase | 
|---|
getType, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface com.mysema.query.types.Path | 
|---|
getAnnotatedElement, getMetadata, getRoot | 
| Methods inherited from interface com.mysema.query.types.Expression | 
|---|
accept, getType | 
| Constructor Detail | 
|---|
public RelationalPathBase(Class<? extends T> type,
                          String variable)
public RelationalPathBase(Class<? extends T> type,
                          PathMetadata<?> metadata)
| Method Detail | 
|---|
protected PrimaryKey<T> createPrimaryKey(Path<?>... columns)
protected <F> ForeignKey<F> createForeignKey(Path<?> local,
                                             String foreign)
protected <F> ForeignKey<F> createForeignKey(List<? extends Path<?>> local,
                                             List<String> foreign)
protected <F> ForeignKey<F> createInvForeignKey(Path<?> local,
                                                String foreign)
protected <F> ForeignKey<F> createInvForeignKey(List<? extends Path<?>> local,
                                                List<String> foreign)
public Path<?>[] all()
protected <P extends Path<?>> P add(P path)
BeanPath
add in class BeanPath<T>public List<Path<?>> getColumns()
RelationalPath
getColumns in interface RelationalPath<T>public Collection<ForeignKey<?>> getForeignKeys()
RelationalPath
getForeignKeys in interface RelationalPath<T>public Collection<ForeignKey<?>> getInverseForeignKeys()
RelationalPath
getInverseForeignKeys in interface RelationalPath<T>public PrimaryKey<T> getPrimaryKey()
RelationalPath
getPrimaryKey in interface RelationalPath<T>public String getSchemaName()
RelationalPath
getSchemaName in interface RelationalPath<T>public String getTableName()
RelationalPath
getTableName in interface RelationalPath<T>
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||