Interface RelationalPersistentEntity<T>
- All Superinterfaces:
Iterable<RelationalPersistentProperty>
,MutablePersistentEntity<T,
,RelationalPersistentProperty> PersistentEntity<T,
RelationalPersistentProperty>
public interface RelationalPersistentEntity<T>
extends MutablePersistentEntity<T,RelationalPersistentProperty>
A
PersistentEntity
interface with additional methods for JDBC/RDBMS related
metadata.- Author:
- Jens Schauder, Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescriptionReturns the column representing the identifier.Returns the name of the table backing the given entity.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface org.springframework.data.mapping.model.MutablePersistentEntity
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
Methods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Method Details
-
getTableName
SqlIdentifier getTableName()Returns the name of the table backing the given entity.- Returns:
- the table name.
-
getIdColumn
SqlIdentifier getIdColumn()Returns the column representing the identifier.- Returns:
- will never be null.
-