com.mysema.query.sql
Interface RelationalPath<T>

All Superinterfaces:
EntityPath<T>, Expression<T>, Path<T>, java.io.Serializable
All Known Implementing Classes:
RelationalPathBase

public interface RelationalPath<T>
extends EntityPath<T>

RelationalPath extends EntityPath to provide access to relational metadata

Author:
tiwe

Method Summary
 java.util.List<Path<?>> getColumns()
          Get all columns
 java.util.Collection<ForeignKey<?>> getForeignKeys()
          Get the foreign keys for this relation
 java.util.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
 java.lang.String getTableName()
          Get the table name
 
Methods inherited from interface com.mysema.query.types.Path
getAnnotatedElement, getMetadata, getRoot
 
Methods inherited from interface com.mysema.query.types.Expression
accept, getType
 

Method Detail

getTableName

java.lang.String getTableName()
Get the table name

Returns:

getColumns

java.util.List<Path<?>> getColumns()
Get all columns

Returns:

getPrimaryKey

@Nullable
PrimaryKey<T> getPrimaryKey()
Get the primary key for this relation or null if none exists

Returns:

getForeignKeys

java.util.Collection<ForeignKey<?>> getForeignKeys()
Get the foreign keys for this relation

Returns:

getInverseForeignKeys

java.util.Collection<ForeignKey<?>> getInverseForeignKeys()
Get the inverse foreign keys for this relation

Returns:


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