public class

OneToMany

extends Object
implements Value
java.lang.Object
   ↳ org.hibernate.mapping.OneToMany

Class Overview

A mapping for a one-to-many association

Summary

Public Constructors
OneToMany(Mappings mappings, PersistentClass owner)
Public Methods
Object accept(ValueVisitor visitor)
void createForeignKey()
PersistentClass getAssociatedClass()
boolean[] getColumnInsertability()
Iterator getColumnIterator()
int getColumnSpan()
boolean[] getColumnUpdateability()
FetchMode getFetchMode()
String getReferencedEntityName()
Table getTable()
Table of the owner entity (the "one" side)
Type getType()
boolean hasFormula()
boolean isAlternateUniqueKey()
boolean isEmbedded()
boolean isIgnoreNotFound()
boolean isNullable()
boolean isSimpleValue()
boolean isValid(Mapping mapping)
void setAssociatedClass(PersistentClass associatedClass)
Associated entity on the many side
void setEmbedded(boolean embedded)
void setIgnoreNotFound(boolean ignoreNotFound)
void setReferencedEntityName(String referencedEntityName)
Associated entity on the "many" side
void setTypeUsingReflection(String className, String propertyName)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.mapping.Value

Public Constructors

public OneToMany (Mappings mappings, PersistentClass owner)

Public Methods

public Object accept (ValueVisitor visitor)

public void createForeignKey ()

public PersistentClass getAssociatedClass ()

public boolean[] getColumnInsertability ()

public Iterator getColumnIterator ()

public int getColumnSpan ()

public boolean[] getColumnUpdateability ()

public FetchMode getFetchMode ()

public String getReferencedEntityName ()

public Table getTable ()

Table of the owner entity (the "one" side)

public Type getType ()

public boolean hasFormula ()

public boolean isAlternateUniqueKey ()

public boolean isEmbedded ()

public boolean isIgnoreNotFound ()

public boolean isNullable ()

public boolean isSimpleValue ()

public boolean isValid (Mapping mapping)

public void setAssociatedClass (PersistentClass associatedClass)

Associated entity on the many side

public void setEmbedded (boolean embedded)

public void setIgnoreNotFound (boolean ignoreNotFound)

public void setReferencedEntityName (String referencedEntityName)

Associated entity on the "many" side

public void setTypeUsingReflection (String className, String propertyName)