|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.mapping.OneToMany
public class OneToMany
A mapping for a one-to-many association
| Constructor Summary | |
|---|---|
OneToMany(PersistentClass owner)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OneToMany(PersistentClass owner)
throws MappingException
MappingException| Method Detail |
|---|
public PersistentClass getAssociatedClass()
public void setAssociatedClass(PersistentClass associatedClass)
public void createForeignKey()
createForeignKey in interface Valuepublic Iterator getColumnIterator()
getColumnIterator in interface Valuepublic int getColumnSpan()
getColumnSpan in interface Valuepublic FetchMode getFetchMode()
getFetchMode in interface Valuepublic Table getTable()
getTable in interface Valuepublic Type getType()
getType in interface Valuepublic boolean isNullable()
isNullable in interface Valuepublic boolean isSimpleValue()
isSimpleValue in interface Valuepublic boolean isAlternateUniqueKey()
isAlternateUniqueKey in interface Valuepublic boolean hasFormula()
hasFormula in interface Value
public boolean isValid(Mapping mapping)
throws MappingException
isValid in interface ValueMappingExceptionpublic String getReferencedEntityName()
public void setReferencedEntityName(String referencedEntityName)
public void setTypeUsingReflection(String className,
String propertyName)
setTypeUsingReflection in interface Valuepublic Object accept(ValueVisitor visitor)
accept in interface Valuepublic boolean[] getColumnInsertability()
getColumnInsertability in interface Valuepublic boolean[] getColumnUpdateability()
getColumnUpdateability in interface Valuepublic boolean isEmbedded()
public void setEmbedded(boolean embedded)
public boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||