public class BasicRelationalPersistentProperty extends AnnotationBasedPersistentProperty<RelationalPersistentProperty> implements RelationalPersistentProperty
| Constructor and Description |
|---|
BasicRelationalPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
NamingStrategy namingStrategy)
Creates a new
BasicRelationalPersistentProperty. |
BasicRelationalPersistentProperty(Property property,
PersistentEntity<?,RelationalPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder,
RelationalMappingContext context)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Association<RelationalPersistentProperty> |
createAssociation() |
SqlIdentifier |
getColumnName()
Returns the name of the column backing this property.
|
String |
getEmbeddedPrefix() |
SqlIdentifier |
getKeyColumn() |
RelationalPersistentEntity<?> |
getOwner() |
Class<?> |
getQualifierColumnType() |
SqlIdentifier |
getReverseColumnName(PersistentPropertyPathExtension path) |
boolean |
isEmbedded() |
boolean |
isEntity() |
boolean |
isForceQuote() |
boolean |
isOrdered()
Returns whether this property is an ordered property.
|
boolean |
isQualified()
Returns if this property is a qualified property, i.e. a property referencing multiple elements that can get picked
by a key or an index.
|
boolean |
isReference() |
void |
setForceQuote(boolean forceQuote) |
boolean |
shouldCreateEmptyEmbedded()
Returns whether an empty embedded object is supposed to be created for this property.
|
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess@Deprecated public BasicRelationalPersistentProperty(Property property, PersistentEntity<?,RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, RelationalMappingContext context)
BasicRelationalPersistentProperty.property - must not be null.owner - must not be null.simpleTypeHolder - must not be null.context - must not be nullBasicRelationalPersistentProperty(Property, PersistentEntity, SimpleTypeHolder, NamingStrategy).public BasicRelationalPersistentProperty(Property property, PersistentEntity<?,RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy)
BasicRelationalPersistentProperty.property - must not be null.owner - must not be null.simpleTypeHolder - must not be null.namingStrategy - must not be nullprotected Association<RelationalPersistentProperty> createAssociation()
createAssociation in class AbstractPersistentProperty<RelationalPersistentProperty>public boolean isForceQuote()
public void setForceQuote(boolean forceQuote)
public boolean isEntity()
isEntity in interface PersistentProperty<RelationalPersistentProperty>isEntity in class AbstractPersistentProperty<RelationalPersistentProperty>public boolean isReference()
isReference in interface RelationalPersistentPropertypublic SqlIdentifier getColumnName()
RelationalPersistentPropertygetColumnName in interface RelationalPersistentPropertypublic RelationalPersistentEntity<?> getOwner()
getOwner in interface PersistentProperty<RelationalPersistentProperty>getOwner in interface RelationalPersistentPropertygetOwner in class AbstractPersistentProperty<RelationalPersistentProperty>public SqlIdentifier getReverseColumnName(PersistentPropertyPathExtension path)
getReverseColumnName in interface RelationalPersistentPropertypublic SqlIdentifier getKeyColumn()
getKeyColumn in interface RelationalPersistentPropertypublic boolean isQualified()
RelationalPersistentPropertyisQualified in interface RelationalPersistentPropertypublic Class<?> getQualifierColumnType()
getQualifierColumnType in interface RelationalPersistentPropertypublic boolean isOrdered()
RelationalPersistentPropertyisOrdered in interface RelationalPersistentPropertypublic boolean isEmbedded()
isEmbedded in interface RelationalPersistentPropertypublic String getEmbeddedPrefix()
getEmbeddedPrefix in interface RelationalPersistentPropertypublic boolean shouldCreateEmptyEmbedded()
RelationalPersistentPropertyshouldCreateEmptyEmbedded in interface RelationalPersistentPropertyCopyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.