public class ManyToOne extends ToOne
referencedPropertyName, referenceToPrimaryKey, unwrapProxyDEFAULT_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, isReferenceToPrimaryKey, isTypeSpecified, isUnwrapProxy, isValid, setEmbedded, setFetchMode, setLazy, setReferencedEntityName, setReferencedPropertyName, setReferenceToPrimaryKey, setTypeUsingReflection, setUnwrapProxyaddColumn, 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, toStringpublic Type getType() throws MappingException
getType in interface ValuegetType in class ToOneMappingExceptionpublic void createForeignKey()
throws MappingException
createForeignKey in interface ValuecreateForeignKey in class ToOneMappingExceptionpublic void createPropertyRefConstraints(Map persistentClasses)
public Object accept(ValueVisitor visitor)
public boolean isIgnoreNotFound()
public void setIgnoreNotFound(boolean ignoreNotFound)
public void markAsLogicalOneToOne()
public boolean isLogicalOneToOne()
Copyright © 2018 JBoss by Red Hat. All rights reserved.