org.hibernate.boot.jaxb.hbm.spi.PluralAttributeInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.boot.jaxb.hbm.spi;
import java.util.List;
/**
* Commonality between the various forms of plural attribute (collection) mappings: {@code }, {@code }, etc.
*
* @author Steve Ebersole
*/
public interface PluralAttributeInfo extends AttributeMapping, TableInformationContainer, ToolingHintContainer {
JaxbHbmKeyType getKey();
JaxbHbmBasicCollectionElementType getElement();
JaxbHbmCompositeCollectionElementType getCompositeElement();
JaxbHbmOneToManyCollectionElementType getOneToMany();
JaxbHbmManyToManyCollectionElementType getManyToMany();
JaxbHbmManyToAnyCollectionElementType getManyToAny();
String getComment();
String getCheck();
String getWhere();
JaxbHbmLoaderType getLoader();
JaxbHbmCustomSqlDmlType getSqlInsert();
JaxbHbmCustomSqlDmlType getSqlUpdate();
JaxbHbmCustomSqlDmlType getSqlDelete();
JaxbHbmCustomSqlDmlType getSqlDeleteAll();
List getSynchronize();
JaxbHbmCacheType getCache();
List getFilter();
String getCascade();
JaxbHbmFetchStyleWithSubselectEnum getFetch();
JaxbHbmLazyWithExtraEnum getLazy();
JaxbHbmOuterJoinEnum getOuterJoin();
int getBatchSize();
boolean isInverse();
boolean isMutable();
boolean isOptimisticLock();
String getCollectionType();
String getPersister();
// todo : not available on all. do we need a specific interface for these?
// public String getSort();
// public String getOrderBy();
}