public class ManyToOne extends ToOne
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, isValid, setFetchMode, setLazy, setPropertyName, setReferencedEntityName, setReferencedPropertyName, setReferenceToPrimaryKey, setTypeUsingReflection, setUnwrapProxy
addColumn, addColumn, addFormula, copyTypeFrom, createForeignKeyOfEntity, createIdentifierGenerator, getColumnInsertability, getColumnIterator, getColumnSpan, getColumnUpdateability, getConstraintColumns, getForeignKeyDefinition, getForeignKeyName, 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, setIdentifierGeneratorStrategy, setJpaAttributeConverterDescriptor, setNullValue, setTable, setTypeName, 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 © 2019 JBoss by Red Hat. All rights reserved.