Top Fields Constructors Methods
org.hibernate.mapping

public Class Backref

extends Property
Class Inheritance
Imports
org.hibernate.MappingException, org.hibernate.property.access.internal.PropertyAccessStrategyBackRefImpl, org.hibernate.property.access.spi.PropertyAccessStrategy

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private String
private String
private PropertyAccessStrategy

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
public String
public PropertyAccessStrategy
public boolean
public boolean
public boolean
isSynthetic()

Overrides org.hibernate.mapping.Property.isSynthetic.

Does this property represent a synthetic property?
public void
setCollectionRole(String collectionRole)

public void
setEntityName(String entityName)

Inherited from org.hibernate.mapping.Property:
addCallbackDefinitionsgetAccessorPropertyNamegetCallbackDefinitionsgetCascadegetCascadeStylegetColumnIteratorgetColumnSpangetGettergetLazyGroupgetMetaAttributegetMetaAttributesgetNamegetPersistentClassgetPropertyAccessorNamegetSettergetTypegetValuegetValueGenerationStrategyisCompositeisInsertableisLazyisLobisNaturalIdentifierisNullableisOptimisticLockedisOptionalisPrimitiveisSelectableisUpdateableisValidresolveServiceRegistrysetCascadesetInsertablesetLazysetLazyGroupsetLobsetMetaAttributessetNamesetNaturalIdentifiersetOptimisticLockedsetOptionalsetPersistentClasssetPropertyAccessorNamesetSelectablesetUpdateablesetValuesetValueGenerationStrategytoString

Field Detail

collectionRoleback to summary
private String collectionRole
entityNameback to summary
private String entityName
propertyAccessStrategyback to summary
private PropertyAccessStrategy propertyAccessStrategy

Constructor Detail

Backrefback to summary
public Backref()

Method Detail

getCollectionRoleback to summary
public String getCollectionRole()
getEntityNameback to summary
public String getEntityName()
getPropertyAccessStrategyback to summary
public PropertyAccessStrategy getPropertyAccessStrategy(Class<T> clazz) throws MappingException

Overrides org.hibernate.mapping.Property.getPropertyAccessStrategy.

Annotations
@Override
isBackRefback to summary
public boolean isBackRef()

Overrides org.hibernate.mapping.Property.isBackRef.

Annotations
@Override
isBasicPropertyAccessorback to summary
public boolean isBasicPropertyAccessor()

Overrides org.hibernate.mapping.Property.isBasicPropertyAccessor.

Annotations
@Override
isSyntheticback to summary
public boolean isSynthetic()

Overrides org.hibernate.mapping.Property.isSynthetic.

Doc from org.hibernate.mapping.Property.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.

Returns:boolean

True if synthetic; false otherwise.

Annotations
@Override
setCollectionRoleback to summary
public void setCollectionRole(String collectionRole)
setEntityNameback to summary
public void setEntityName(String entityName)