|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.mapping.SimpleValue
org.hibernate.mapping.ToOne
org.hibernate.mapping.ManyToOne
public class ManyToOne
A many-to-one association mapping
| Field Summary |
|---|
| Fields inherited from class org.hibernate.mapping.ToOne |
|---|
referencedPropertyName, unwrapProxy |
| Constructor Summary | |
|---|---|
ManyToOne(Table table)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
accept(ValueVisitor visitor)
|
void |
createForeignKey()
|
void |
createPropertyRefConstraints(java.util.Map persistentClasses)
|
Type |
getType()
|
boolean |
isIgnoreNotFound()
|
void |
setIgnoreNotFound(boolean ignoreNotFound)
|
| Methods inherited from class org.hibernate.mapping.ToOne |
|---|
getFetchMode, getReferencedEntityName, getReferencedPropertyName, isEmbedded, isLazy, isTypeSpecified, isUnwrapProxy, isValid, setEmbedded, setFetchMode, setLazy, setReferencedEntityName, setReferencedPropertyName, setTypeUsingReflection, setUnwrapProxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ManyToOne(Table table)
| Method Detail |
|---|
public Type getType()
throws MappingException
getType in interface ValuegetType in class ToOneMappingException
public void createForeignKey()
throws MappingException
createForeignKey in interface ValuecreateForeignKey in class ToOneMappingExceptionpublic void createPropertyRefConstraints(java.util.Map persistentClasses)
public java.lang.Object accept(ValueVisitor visitor)
accept in interface Valueaccept in class ToOnepublic boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||