org.hibernate.mapping
Class ManyToOne
java.lang.Object
   org.hibernate.mapping.SimpleValue
org.hibernate.mapping.SimpleValue
       org.hibernate.mapping.ToOne
org.hibernate.mapping.ToOne
           org.hibernate.mapping.ManyToOne
org.hibernate.mapping.ManyToOne
- All Implemented Interfaces: 
- Serializable, Fetchable, KeyValue, Value
- public class ManyToOne 
- extends ToOne
A many-to-one association mapping
- Author:
- Gavin King
- See Also:
- Serialized Form
 
 
 
 
 
| 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 org.hibernate.mapping.SimpleValue | 
| addColumn, addFormula, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMappings, getNullValue, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isNullable, isSimpleValue, isUpdateable, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setNullValue, setTable, setTypeName, setTypeParameters, toString | 
 
 
ManyToOne
public ManyToOne(Mappings mappings,
                 Table table)
getType
public Type getType()
             throws MappingException
- 
- Specified by:
- getTypein interface- Value
- Specified by:
- getTypein class- ToOne
 
- 
- Throws:
- MappingException
 
createForeignKey
public void createForeignKey()
                      throws MappingException
- 
- Specified by:
- createForeignKeyin interface- Value
- Specified by:
- createForeignKeyin class- ToOne
 
- 
- Throws:
- MappingException
 
createPropertyRefConstraints
public void createPropertyRefConstraints(Map persistentClasses)
- 
 
accept
public Object accept(ValueVisitor visitor)
- 
- Specified by:
- acceptin interface- Value
- Overrides:
- acceptin class- ToOne
 
- 
 
isIgnoreNotFound
public boolean isIgnoreNotFound()
- 
 
setIgnoreNotFound
public void setIgnoreNotFound(boolean ignoreNotFound)
- 
 
markAsLogicalOneToOne
public void markAsLogicalOneToOne()
- 
 
isLogicalOneToOne
public boolean isLogicalOneToOne()
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.