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

All Superinterfaces:
EntityPath<T>, Expression<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<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 interface com.mysema.query.types.Path
getAnnotatedElement, getMetadata, getRoot
 
Methods inherited from interface com.mysema.query.types.Expression
accept, getType
 

Method Detail

getSchemaName

String getSchemaName()
Get the schema name

Returns:

getTableName

String getTableName()
Get the table name

Returns:

getColumns

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

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-2011 Mysema Ltd. All Rights Reserved.