public interface RelationalPath<T> extends EntityPath<T>, ProjectionRole<T>
EntityPath
to provide access to relational
metadataModifier and Type | Method and Description |
---|---|
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
|
ColumnMetadata |
getMetadata(Path<?> column)
Returns the metadata for this path or null if none was assigned.
|
PrimaryKey<T> |
getPrimaryKey()
Get the primary key for this relation or null if none exists
|
SchemaAndTable |
getSchemaAndTable()
Get the schema and table name
|
String |
getSchemaName()
Get the schema name
|
String |
getTableName()
Get the table name
|
getAnnotatedElement, getMetadata, getRoot
accept, getType
getProjection
SchemaAndTable getSchemaAndTable()
String getSchemaName()
String getTableName()
@Nullable PrimaryKey<T> getPrimaryKey()
Collection<ForeignKey<?>> getForeignKeys()
Collection<ForeignKey<?>> getInverseForeignKeys()
@Nullable ColumnMetadata getMetadata(Path<?> column)
ColumnMetadata.getColumnMetadata(Path)
for a null safe
alternativegetMetadata
in interface EntityPath<T>
Copyright © 2007–2015 Mysema Ltd. All rights reserved.