Top Description Fields Constructors Methods
org.hibernate.mapping

public Class ManyToOne

extends ToOne
Class Inheritance
Imports
java.util.ArrayList, .Iterator, .Map, org.hibernate.MappingException, org.hibernate.cfg.Mappings, org.hibernate.type.EntityType, .Type, .TypeFactory

A many-to-one association mapping
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private boolean
private boolean
Inherited from org.hibernate.mapping.ToOne:
referencedPropertyNameunwrapProxy

Constructor Summary

AccessConstructor and Description
public
ManyToOne(Mappings mappings, Table table)

Method Summary

Modifier and TypeMethod and Description
public Object
public void
public void
createPropertyRefConstraints(Map<K, V> persistentClasses)

public Type
public boolean
public boolean
public void
public void
setIgnoreNotFound(boolean ignoreNotFound)

Inherited from org.hibernate.mapping.ToOne:
getFetchModegetReferencedEntityNamegetReferencedPropertyNameisEmbeddedisLazyisTypeSpecifiedisUnwrapProxyisValidsetEmbeddedsetFetchModesetLazysetReferencedEntityNamesetReferencedPropertyNamesetTypeUsingReflectionsetUnwrapProxy

Field Detail

ignoreNotFoundback to summary
private boolean ignoreNotFound
isLogicalOneToOneback to summary
private boolean isLogicalOneToOne

Constructor Detail

ManyToOneback to summary
public ManyToOne(Mappings mappings, Table table)

Method Detail

acceptback to summary
public Object accept(ValueVisitor visitor)

Overrides org.hibernate.mapping.ToOne.accept.

Implements org.hibernate.mapping.Value.accept.

createForeignKeyback to summary
public void createForeignKey() throws MappingException

Implements abstract org.hibernate.mapping.ToOne.createForeignKey.

Implements org.hibernate.mapping.Value.createForeignKey.

createPropertyRefConstraintsback to summary
public void createPropertyRefConstraints(Map<K, V> persistentClasses)
getTypeback to summary
public Type getType() throws MappingException

Implements abstract org.hibernate.mapping.ToOne.getType.

Implements org.hibernate.mapping.Value.getType.

isIgnoreNotFoundback to summary
public boolean isIgnoreNotFound()
isLogicalOneToOneback to summary
public boolean isLogicalOneToOne()
markAsLogicalOneToOneback to summary
public void markAsLogicalOneToOne()
setIgnoreNotFoundback to summary
public void setIgnoreNotFound(boolean ignoreNotFound)