Package org.hibernate.mapping
Class Backref
- java.lang.Object
-
- org.hibernate.mapping.Property
-
- org.hibernate.mapping.Backref
-
- All Implemented Interfaces:
java.io.Serializable,MetaAttributable
public class Backref extends Property
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Backref()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCollectionRole()java.lang.StringgetEntityName()PropertyAccessStrategygetPropertyAccessStrategy(java.lang.Class clazz)booleanisBackRef()booleanisBasicPropertyAccessor()booleanisSynthetic()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.voidsetCollectionRole(java.lang.String collectionRole)voidsetEntityName(java.lang.String entityName)-
Methods inherited from class org.hibernate.mapping.Property
getAccessorPropertyName, getCascade, getCascadeStyle, getColumnIterator, getColumnSpan, getGetter, getLazyGroup, getMetaAttribute, getMetaAttributes, getName, getPersistentClass, getPropertyAccessorName, getSetter, getType, getValue, getValueGenerationStrategy, isComposite, isInsertable, isLazy, isLob, isNaturalIdentifier, isOptimisticLocked, isOptional, isPrimitive, isSelectable, isUpdateable, isValid, resolveServiceRegistry, setCascade, setInsertable, setLazy, setLazyGroup, setLob, setMetaAttributes, setName, setNaturalIdentifier, setOptimisticLocked, setOptional, setPersistentClass, setPropertyAccessorName, setSelectable, setUpdateable, setValue, setValueGenerationStrategy, toString
-
-
-
-
Method Detail
-
isSynthetic
public boolean isSynthetic()
Description copied from class:PropertyDoes 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:
isSyntheticin classProperty- Returns:
- True if synthetic; false otherwise.
-
getCollectionRole
public java.lang.String getCollectionRole()
-
setCollectionRole
public void setCollectionRole(java.lang.String collectionRole)
-
isBasicPropertyAccessor
public boolean isBasicPropertyAccessor()
- Overrides:
isBasicPropertyAccessorin classProperty
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy(java.lang.Class clazz) throws MappingException
- Overrides:
getPropertyAccessStrategyin classProperty- Throws:
MappingException
-
getEntityName
public java.lang.String getEntityName()
-
setEntityName
public void setEntityName(java.lang.String entityName)
-
-