public class ManyToOne extends ToOne
referencedPropertyName, referenceToPrimaryKey, unwrapProxy
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
ManyToOne(MetadataImplementor metadata,
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, isLazy, isReferenceToPrimaryKey, isTypeSpecified, isUnwrapProxy, isValid, setFetchMode, setLazy, setReferencedEntityName, setReferencedPropertyName, setReferenceToPrimaryKey, setTypeUsingReflection, setUnwrapProxy
addColumn, addFormula, copyTypeFrom, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getForeignKeyName, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMetadata, getNullValue, getServiceRegistry, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isNationalized, isNullable, isSimpleValue, isUpdateable, makeNationalized, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setJpaAttributeConverterDefinition, setNullValue, setTable, setTypeName, setTypeParameters, toString
public ManyToOne(MetadataImplementor metadata, Table table)
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 © 2016 JBoss by Red Hat. All rights reserved.