public class ManyToOne extends ToOne
referencedPropertyName, unwrapProxy
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
ManyToOne(Mappings mappings,
Table table) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(ValueVisitor visitor) |
void |
createForeignKey() |
void |
createPropertyRefConstraints(Map persistentClasses) |
Type |
getType() |
boolean |
isIgnoreNotFound() |
boolean |
isLogicalOneToOne() |
void |
markAsLogicalOneToOne() |
void |
setIgnoreNotFound(boolean ignoreNotFound) |
getFetchMode, getReferencedEntityName, getReferencedPropertyName, isEmbedded, isLazy, isTypeSpecified, isUnwrapProxy, isValid, setEmbedded, setFetchMode, setLazy, setReferencedEntityName, setReferencedPropertyName, setTypeUsingReflection, setUnwrapProxy
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
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(Map persistentClasses)
public Object accept(ValueVisitor visitor)
public boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
public void markAsLogicalOneToOne()
public boolean isLogicalOneToOne()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.