Package org.hibernate.mapping
Class Backref
java.lang.Object
org.hibernate.mapping.Property
org.hibernate.mapping.Backref
- All Implemented Interfaces:
Serializable
,MetaAttributable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyAccessStrategy
(Class clazz) boolean
boolean
boolean
Does this property represent a synthetic property? A synthetic property is one we create during metamodel binding to represent a collection of columns but which does not represent a property physically available on the entity.void
setCollectionRole
(String collectionRole) void
setEntityName
(String entityName) Methods inherited from class org.hibernate.mapping.Property
addCallbackDefinitions, copy, createGenerator, getAccessorPropertyName, getCallbackDefinitions, getCascade, getCascadeStyle, getColumns, getColumnSpan, getGetter, getLazyGroup, getMetaAttribute, getMetaAttributes, getName, getPersistentClass, getPropertyAccessorName, getPropertyAccessStrategy, getReturnedClassName, getSelectables, getSetter, getType, getValue, getValueGeneratorCreator, isComposite, isGeneric, isInsertable, isLazy, isLob, isNaturalIdentifier, isOptimisticLocked, isOptional, isPrimitive, isSelectable, isUpdateable, isValid, resetOptional, resetUpdateable, setCascade, setGeneric, setInsertable, setLazy, setLazyGroup, setLob, setMetaAttributes, setName, setNaturalIdentifier, setOptimisticLocked, setOptional, setPersistentClass, setPropertyAccessorName, setPropertyAccessStrategy, setReturnedClassName, setSelectable, setUpdateable, setValue, setValueGeneratorCreator, toString
-
Constructor Details
-
Backref
public Backref()
-
-
Method Details
-
isBackRef
public boolean isBackRef() -
isSynthetic
public boolean isSynthetic()Description copied from class:Property
Does this property represent a synthetic property? A synthetic property is one we create during metamodel binding to represent a collection of columns but which does not represent a property physically available on the entity.- Overrides:
isSynthetic
in classProperty
- Returns:
- True if synthetic; false otherwise.
-
getCollectionRole
-
setCollectionRole
-
isBasicPropertyAccessor
public boolean isBasicPropertyAccessor()- Overrides:
isBasicPropertyAccessor
in classProperty
-
getPropertyAccessStrategy
- Overrides:
getPropertyAccessStrategy
in classProperty
- Throws:
MappingException
-
getEntityName
-
setEntityName
-