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

All Superinterfaces:
EntityPath<T>, Path<T>, 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
 List<Expr<?>> 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
 
Methods inherited from interface com.mysema.query.types.Path
asExpr, getAnnotatedElement, getMetadata, getRoot, getType, isNotNull, isNull
 

Method Detail

getColumns

List<Expr<?>> getColumns()
Get all columns

Returns:

getPrimaryKey

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

Returns:

getForeignKeys

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

Returns:

getInverseForeignKeys

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

Returns:


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