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) booleanbooleanbooleanDoes 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(String collectionRole) voidsetEntityName(String entityName) Methods inherited from class org.hibernate.mapping.Property
addCallbackDefinitions, copy, createGenerator, getCallbackDefinitions, getCascade, getCascadeStyle, getColumns, getColumnSpan, getGetter, getLazyGroup, getMetaAttribute, getMetaAttributes, getName, getOnDeleteAction, getPersistentClass, getPropertyAccessorName, getPropertyAccessStrategy, getReturnedClassName, getSelectables, getSetter, getType, getValue, getValueGeneratorCreator, isComposite, isGeneric, isInsertable, isLazy, isLob, isNaturalIdentifier, isOptimisticLocked, isOptional, isSelectable, isUpdatable, isUpdateable, isValid, resetOptional, resetUpdateable, setCascade, setCascade, setGeneric, setInsertable, setLazy, setLazyGroup, setLob, setMetaAttributes, setName, setNaturalIdentifier, setOptimisticLocked, setOptional, setPersistentClass, setPropertyAccessorName, setPropertyAccessStrategy, setReturnedClassName, setSelectable, setUpdatable, setUpdateable, setValue, setValueGeneratorCreator, toString
-
Constructor Details
-
Backref
public Backref()
-
-
Method Details
-
isBackRef
public boolean isBackRef() -
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
-
setCollectionRole
-
isBasicPropertyAccessor
public boolean isBasicPropertyAccessor()- Overrides:
isBasicPropertyAccessorin classProperty
-
getPropertyAccessStrategy
- Overrides:
getPropertyAccessStrategyin classProperty- Throws:
MappingException
-
getEntityName
-
setEntityName
-