|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Value
public Iterator getColumnIterator()
getColumnIterator
in interface Value
public int getColumnSpan()
getColumnSpan
in interface Value
public FetchMode getFetchMode()
getFetchMode
in interface Value
public Table getTable()
getTable
in interface Value
public Type getType()
getType
in interface Value
public boolean isNullable()
isNullable
in interface Value
public boolean isSimpleValue()
isSimpleValue
in interface Value
public boolean isAlternateUniqueKey()
isAlternateUniqueKey
in interface Value
public boolean hasFormula()
hasFormula
in interface Value
public boolean isValid(Mapping mapping) throws MappingException
isValid
in interface Value
MappingException
public String getReferencedEntityName()
public void setReferencedEntityName(String referencedEntityName)
public void setTypeUsingReflection(String className, String propertyName)
setTypeUsingReflection
in interface Value
public Object accept(ValueVisitor visitor)
accept
in interface Value
public boolean[] getColumnInsertability()
getColumnInsertability
in interface Value
public boolean[] getColumnUpdateability()
getColumnUpdateability
in interface Value
public 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 |