Package org.hibernate.mapping
Class IndexBackref
- java.lang.Object
-
- org.hibernate.mapping.Property
-
- org.hibernate.mapping.IndexBackref
-
- All Implemented Interfaces:
Serializable
,MetaAttributable
public class IndexBackref extends Property
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexBackref()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCollectionRole()
String
getEntityName()
PropertyAccessStrategy
getPropertyAccessStrategy(Class clazz)
boolean
isBackRef()
boolean
isBasicPropertyAccessor()
boolean
isSynthetic()
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
-
-
-
-
Method Detail
-
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
public String getCollectionRole()
-
setCollectionRole
public void setCollectionRole(String collectionRole)
-
isBasicPropertyAccessor
public boolean isBasicPropertyAccessor()
- Overrides:
isBasicPropertyAccessor
in classProperty
-
getPropertyAccessStrategy
public PropertyAccessStrategy getPropertyAccessStrategy(Class clazz) throws MappingException
- Overrides:
getPropertyAccessStrategy
in classProperty
- Throws:
MappingException
-
getEntityName
public String getEntityName()
-
setEntityName
public void setEntityName(String entityName)
-
-