public class PluralAttributeElementSourceManyToManyImpl extends AbstractPluralAssociationElementSourceImpl implements PluralAttributeElementSourceManyToMany
| Constructor and Description |
|---|
PluralAttributeElementSourceManyToManyImpl(MappingDocument mappingDocument,
PluralAttributeSource pluralAttributeSource,
JaxbHbmManyToManyCollectionElementType jaxbManyToManyElement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areValuesIncludedInInsertByDefault()
How should non-specification of value insertion by the individual value sources here be
interpreted in terms of defaulting that value.
|
boolean |
areValuesIncludedInUpdateByDefault()
How should non-specification of value updating by the individual value sources here be
interpreted in terms of defaulting that value.
|
boolean |
areValuesNullableByDefault()
How should non-specification of value nullability by the individual value sources here be
interpreted in terms of defaulting that value.
|
boolean |
createForeignKeyConstraint()
Primarily exists to support JPA's
@ForeignKey(NO_CONSTRAINT). |
java.lang.String |
getExplicitForeignKeyName()
Retrieve the name of the foreign key as supplied by the user, or
null if the user supplied none. |
FetchCharacteristics |
getFetchCharacteristics() |
FilterSource[] |
getFilterSources() |
PluralAttributeElementNature |
getNature() |
java.lang.String |
getOrder()
The order by clause used during loading this plural attribute.
|
java.lang.String |
getReferencedEntityAttributeName() |
java.lang.String |
getReferencedEntityName()
Obtain the name of the referenced entity.
|
java.util.List<RelationalValueSource> |
getRelationalValueSources()
Obtain the contained
RelationalValueSource references. |
java.lang.String |
getWhere() |
boolean |
isCascadeDeleteEnabled()
Is "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?
|
boolean |
isIgnoreNotFound() |
boolean |
isOrdered()
If the source of plural attribute is supposed to be applied the
ORDER BY when loading. |
boolean |
isUnique() |
getAttributeSource, isMappedBymappingRoot, metadataBuildingContext, origin, sourceMappingDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeSource, isMappedBypublic PluralAttributeElementSourceManyToManyImpl(MappingDocument mappingDocument, PluralAttributeSource pluralAttributeSource, JaxbHbmManyToManyCollectionElementType jaxbManyToManyElement)
public PluralAttributeElementNature getNature()
getNature in interface PluralAttributeElementSourcepublic java.lang.String getReferencedEntityName()
AssociationSourcegetReferencedEntityName in interface AssociationSourcegetReferencedEntityName in interface PluralAttributeElementSourceManyToManypublic FilterSource[] getFilterSources()
getFilterSources in interface PluralAttributeElementSourceManyToManypublic java.lang.String getReferencedEntityAttributeName()
getReferencedEntityAttributeName in interface PluralAttributeElementSourceManyToManypublic java.util.List<RelationalValueSource> getRelationalValueSources()
RelationalValueSourceContainerRelationalValueSource references.getRelationalValueSources in interface RelationalValueSourceContainerRelationalValueSource references.public boolean isIgnoreNotFound()
isIgnoreNotFound in interface AssociationSourceisIgnoreNotFound in interface PluralAttributeElementSourceManyToManypublic java.lang.String getExplicitForeignKeyName()
ForeignKeyContributingSourcenull if the user supplied none.getExplicitForeignKeyName in interface ForeignKeyContributingSourcegetExplicitForeignKeyName in interface PluralAttributeElementSourceManyToManypublic boolean isCascadeDeleteEnabled()
ForeignKeyContributingSourceisCascadeDeleteEnabled in interface ForeignKeyContributingSourcetrue, if the cascade delete is enabled; false, otherwise.public boolean isUnique()
isUnique in interface PluralAttributeElementSourceManyToManypublic java.lang.String getWhere()
getWhere in interface PluralAttributeElementSourceManyToManypublic FetchCharacteristics getFetchCharacteristics()
getFetchCharacteristics in interface PluralAttributeElementSourceManyToManypublic boolean areValuesIncludedInInsertByDefault()
ColumnBindingDefaultsareValuesIncludedInInsertByDefault in interface ColumnBindingDefaultstrue Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesIncludedInUpdateByDefault()
ColumnBindingDefaultsareValuesIncludedInUpdateByDefault in interface ColumnBindingDefaultstrue Indicates that updates are enabled by default for all value sources which
do not explicitly specify.public boolean areValuesNullableByDefault()
ColumnBindingDefaultsareValuesNullableByDefault in interface ColumnBindingDefaultstrue Indicates that insertions are enabled by default for all value sources which
do not explicitly specify.public boolean isOrdered()
OrderableORDER BY when loading.public java.lang.String getOrder()
OrderableOrderBy.value()public boolean createForeignKeyConstraint()
ForeignKeyContributingSource@ForeignKey(NO_CONSTRAINT).createForeignKeyConstraint in interface ForeignKeyContributingSourcetrue if the FK constraint should be created, false if not.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.