|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PersistentTypeContainer
Interface used by persistence unit to gather up persistent types.
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Field Summary | |
|---|---|
static org.eclipse.jpt.common.utility.internal.Transformer<PersistentTypeContainer,java.lang.Iterable<? extends PersistentType>> |
TRANSFORMER
|
| Method Summary | |
|---|---|
PersistentType |
getPersistentType(java.lang.String typeName)
Return the persistent type with the specified name. |
java.lang.Iterable<? extends PersistentType> |
getPersistentTypes()
Return the container's persistent types. |
| Field Detail |
|---|
static final org.eclipse.jpt.common.utility.internal.Transformer<PersistentTypeContainer,java.lang.Iterable<? extends PersistentType>> TRANSFORMER
| Method Detail |
|---|
java.lang.Iterable<? extends PersistentType> getPersistentTypes()
persistence.xml and
orm.xml files
persistence.xml or orm.xml file
persistence.xml file and is specified in the
persistence.xml file and/or an orm.xml file
PersistentType getPersistentType(java.lang.String typeName)
null if the persistent type is not found.
If the persistent unit has more than one persistent type with the
specified name, return the first one found, using the following
search order:
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||