类 PluralAttributeElementSourceManyToManyImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
-
- org.hibernate.boot.model.source.internal.hbm.AbstractPluralAssociationElementSourceImpl
-
- org.hibernate.boot.model.source.internal.hbm.PluralAttributeElementSourceManyToManyImpl
-
- 所有已实现的接口:
AssociationSource,ColumnBindingDefaults,ForeignKeyContributingSource,Orderable,PluralAttributeElementSource,PluralAttributeElementSourceAssociation,PluralAttributeElementSourceManyToMany,RelationalValueSourceContainer
public class PluralAttributeElementSourceManyToManyImpl extends AbstractPluralAssociationElementSourceImpl implements PluralAttributeElementSourceManyToMany
- 作者:
- Steve Ebersole, Gail Badner
-
-
构造器概要
构造器 构造器 说明 PluralAttributeElementSourceManyToManyImpl(MappingDocument mappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmManyToManyCollectionElementType jaxbManyToManyElement)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanareValuesIncludedInInsertByDefault()How should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesIncludedInUpdateByDefault()How should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.booleanareValuesNullableByDefault()How should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.booleancreateForeignKeyConstraint()Primarily exists to support JPA's@ForeignKey(NO_CONSTRAINT).StringgetExplicitForeignKeyName()Retrieve the name of the foreign key as supplied by the user, ornullif the user supplied none.FetchCharacteristicsgetFetchCharacteristics()FilterSource[]getFilterSources()PluralAttributeElementNaturegetNature()StringgetOrder()The order by clause used during loading this plural attribute.StringgetReferencedEntityAttributeName()StringgetReferencedEntityName()Obtain the name of the referenced entity.List<RelationalValueSource>getRelationalValueSources()Obtain the containedRelationalValueSourcereferences.StringgetWhere()booleanisCascadeDeleteEnabled()Is "cascade delete" enabled for the foreign key?booleanisIgnoreNotFound()booleanisOrdered()If the source of plural attribute is supposed to be applied theORDER BYwhen loading.booleanisUnique()-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.AbstractPluralAssociationElementSourceImpl
getAttributeSource, isMappedBy
-
从类继承的方法 org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.model.source.spi.AssociationSource
getAttributeSource, isMappedBy
-
-
-
-
构造器详细资料
-
PluralAttributeElementSourceManyToManyImpl
public PluralAttributeElementSourceManyToManyImpl(MappingDocument mappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmManyToManyCollectionElementType jaxbManyToManyElement)
-
-
方法详细资料
-
getNature
public PluralAttributeElementNature getNature()
- 指定者:
getNature在接口中PluralAttributeElementSource
-
getReferencedEntityName
public String getReferencedEntityName()
从接口复制的说明:AssociationSourceObtain the name of the referenced entity.- 指定者:
getReferencedEntityName在接口中AssociationSource- 指定者:
getReferencedEntityName在接口中PluralAttributeElementSourceManyToMany- 返回:
- The name of the referenced entity
-
getFilterSources
public FilterSource[] getFilterSources()
-
getReferencedEntityAttributeName
public String getReferencedEntityAttributeName()
-
getRelationalValueSources
public List<RelationalValueSource> getRelationalValueSources()
从接口复制的说明:RelationalValueSourceContainerObtain the containedRelationalValueSourcereferences.- 指定者:
getRelationalValueSources在接口中RelationalValueSourceContainer- 返回:
- The contained
RelationalValueSourcereferences.
-
isIgnoreNotFound
public boolean isIgnoreNotFound()
- 指定者:
isIgnoreNotFound在接口中AssociationSource- 指定者:
isIgnoreNotFound在接口中PluralAttributeElementSourceManyToMany
-
getExplicitForeignKeyName
public String getExplicitForeignKeyName()
从接口复制的说明:ForeignKeyContributingSourceRetrieve the name of the foreign key as supplied by the user, ornullif the user supplied none.- 指定者:
getExplicitForeignKeyName在接口中ForeignKeyContributingSource- 指定者:
getExplicitForeignKeyName在接口中PluralAttributeElementSourceManyToMany- 返回:
- The user supplied foreign key name.
-
isCascadeDeleteEnabled
public boolean isCascadeDeleteEnabled()
从接口复制的说明:ForeignKeyContributingSourceIs "cascade delete" enabled for the foreign key? In other words, if a record in the parent (referenced) table is deleted, should the corresponding records in the child table automatically be deleted?- 指定者:
isCascadeDeleteEnabled在接口中ForeignKeyContributingSource- 返回:
true, if the cascade delete is enabled;false, otherwise.
-
isUnique
public boolean isUnique()
-
getWhere
public String getWhere()
-
getFetchCharacteristics
public FetchCharacteristics getFetchCharacteristics()
-
areValuesIncludedInInsertByDefault
public boolean areValuesIncludedInInsertByDefault()
从接口复制的说明:ColumnBindingDefaultsHow should non-specification of value insertion by the individual value sources here be interpreted in terms of defaulting that value.- 指定者:
areValuesIncludedInInsertByDefault在接口中ColumnBindingDefaults- 返回:
trueIndicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
areValuesIncludedInUpdateByDefault
public boolean areValuesIncludedInUpdateByDefault()
从接口复制的说明:ColumnBindingDefaultsHow should non-specification of value updating by the individual value sources here be interpreted in terms of defaulting that value.- 指定者:
areValuesIncludedInUpdateByDefault在接口中ColumnBindingDefaults- 返回:
trueIndicates that updates are enabled by default for all value sources which do not explicitly specify.
-
areValuesNullableByDefault
public boolean areValuesNullableByDefault()
从接口复制的说明:ColumnBindingDefaultsHow should non-specification of value nullability by the individual value sources here be interpreted in terms of defaulting that value.- 指定者:
areValuesNullableByDefault在接口中ColumnBindingDefaults- 返回:
trueIndicates that insertions are enabled by default for all value sources which do not explicitly specify.
-
isOrdered
public boolean isOrdered()
从接口复制的说明:OrderableIf the source of plural attribute is supposed to be applied theORDER BYwhen loading.
-
getOrder
public String getOrder()
从接口复制的说明:OrderableThe order by clause used during loading this plural attribute. If the ordering element is not specified, ordering by the primary key of the associated entity is assumed
-
createForeignKeyConstraint
public boolean createForeignKeyConstraint()
从接口复制的说明:ForeignKeyContributingSourcePrimarily exists to support JPA's@ForeignKey(NO_CONSTRAINT).- 指定者:
createForeignKeyConstraint在接口中ForeignKeyContributingSource- 返回:
trueif the FK constraint should be created,falseif not.
-
-