public class SimpleRelationalEntityMetadata<T> extends Object implements RelationalEntityMetadata<T>
RelationalEntityMetadata.| Constructor and Description |
|---|
SimpleRelationalEntityMetadata(Class<T> type,
RelationalPersistentEntity<?> tableEntity)
Creates a new
SimpleRelationalEntityMetadata using the given type and RelationalPersistentEntity to
use for table lookups. |
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
getJavaType() |
RelationalPersistentEntity<?> |
getTableEntity()
Returns the
RelationalPersistentEntity that supposed to determine the table to be queried. |
SqlIdentifier |
getTableName()
Returns the name of the table the entity shall be persisted to.
|
public SimpleRelationalEntityMetadata(Class<T> type, RelationalPersistentEntity<?> tableEntity)
SimpleRelationalEntityMetadata using the given type and RelationalPersistentEntity to
use for table lookups.type - must not be null.tableEntity - must not be null.public Class<T> getJavaType()
getJavaType in interface EntityMetadata<T>public SqlIdentifier getTableName()
RelationalEntityMetadatagetTableName in interface RelationalEntityMetadata<T>public RelationalPersistentEntity<?> getTableEntity()
RelationalEntityMetadataRelationalPersistentEntity that supposed to determine the table to be queried.getTableEntity in interface RelationalEntityMetadata<T>Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.