Class BasicJdbcPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<RelationalPersistentProperty>
org.springframework.data.relational.core.mapping.BasicRelationalPersistentProperty
org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
- All Implemented Interfaces:
PersistentProperty<RelationalPersistentProperty>
,RelationalPersistentProperty
Extension to
BasicRelationalPersistentProperty
.- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionBasicJdbcPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy) Creates a newBasicJdbcPersistentProperty
.BasicJdbcPersistentProperty
(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, RelationalMappingContext context) Deprecated. -
Method Summary
Methods inherited from class org.springframework.data.relational.core.mapping.BasicRelationalPersistentProperty
createAssociation, getColumnName, getEmbeddedPrefix, getKeyColumn, getOwner, getQualifierColumnType, getReverseColumnName, isEmbedded, isEntity, isForceQuote, isOrdered, isQualified, setForceQuote, shouldCreateEmptyEmbedded
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isImmutable, isMap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isCollectionLike, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess
-
Constructor Details
-
BasicJdbcPersistentProperty
@Deprecated public BasicJdbcPersistentProperty(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, RelationalMappingContext context) Deprecated.Creates a newBasicJdbcPersistentProperty
.- Parameters:
property
- must not be null.owner
- must not be null.simpleTypeHolder
- must not be null.context
- must not be null
-
BasicJdbcPersistentProperty
public BasicJdbcPersistentProperty(Property property, PersistentEntity<?, RelationalPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, NamingStrategy namingStrategy) Creates a newBasicJdbcPersistentProperty
.- Parameters:
property
- must not be null.owner
- must not be null.simpleTypeHolder
- must not be null.namingStrategy
- must not be null- Since:
- 2.0
-
-
Method Details
-
isAssociation
public boolean isAssociation()- Specified by:
isAssociation
in interfacePersistentProperty<RelationalPersistentProperty>
- Overrides:
isAssociation
in classAnnotationBasedPersistentProperty<RelationalPersistentProperty>
-
isReference
public boolean isReference()- Specified by:
isReference
in interfaceRelationalPersistentProperty
- Overrides:
isReference
in classBasicRelationalPersistentProperty
- Returns:
-
BasicJdbcPersistentProperty(Property, PersistentEntity, SimpleTypeHolder, NamingStrategy)
.