public class ManyToOne extends ToOne
isUnwrapProxyImplicit, referencedPropertyName, referenceToPrimaryKey, unwrapProxy
DEFAULT_ID_GEN_STRATEGY
Constructor and Description |
---|
ManyToOne(MetadataBuildingContext buildingContext,
Table table) |
ManyToOne(MetadataImplementor metadata,
Table table)
Deprecated.
Use
ManyToOne(MetadataBuildingContext, Table) instead. |
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, getPropertyName, getReferencedEntityName, getReferencedPropertyName, isLazy, isReferenceToPrimaryKey, isSame, isSame, isTypeSpecified, isUnwrapProxy, isUnwrapProxyImplicit, isValid, setFetchMode, setLazy, setPropertyName, setReferencedEntityName, setReferencedPropertyName, setReferenceToPrimaryKey, setTypeUsingReflection, setUnwrapProxy, setUnwrapProxyImplicit
addColumn, addColumn, addFormula, copyTypeFrom, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getForeignKeyDefinition, getForeignKeyName, getIdentifierGenerator, getIdentifierGeneratorProperties, getIdentifierGeneratorStrategy, getMetadata, getNullValue, getServiceRegistry, getTable, getTypeName, getTypeParameters, hasFormula, isAlternateUniqueKey, isCascadeDeleteEnabled, isIdentityColumn, isLob, isNationalized, isNullable, isSame, isSame, isSimpleValue, isUpdateable, isVersion, makeLob, makeNationalized, makeVersion, setAlternateUniqueKey, setCascadeDeleteEnabled, setForeignKeyDefinition, setForeignKeyName, setIdentifierGeneratorProperties, setIdentifierGeneratorProperties, setIdentifierGeneratorStrategy, setJpaAttributeConverterDescriptor, setNullValue, setTable, setTypeName, setTypeParameters, setTypeParameters, toString
@Deprecated public ManyToOne(MetadataImplementor metadata, Table table)
ManyToOne(MetadataBuildingContext, Table)
instead.public ManyToOne(MetadataBuildingContext buildingContext, 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 © 2001-2021 Red Hat, Inc. All Rights Reserved.