|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Value
getType
in class ToOne
MappingException
public void createForeignKey() throws MappingException
createForeignKey
in interface Value
createForeignKey
in class ToOne
MappingException
public void createPropertyRefConstraints(java.util.Map persistentClasses)
public java.lang.Object accept(ValueVisitor visitor)
accept
in interface Value
accept
in class ToOne
public boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |