org.eclipse.jpt.jpa.core.context.java
Interface JarFile
- All Superinterfaces:
- IAdaptable, JpaContextNode, JpaNode, JptResourceTypeReference, ManagedTypeContainer, Model, PersistentTypeContainer
public interface JarFile
- extends JpaContextNode, PersistentTypeContainer
A JAR file identified by a persistence.xml jar-file element.
This holds persistent types corresponding to all the "persistable" types
discovered in the JAR.
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.
- Since:
- 2.2
| Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode |
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate |
JAVA_MANAGED_TYPES_COLLECTION
static final String JAVA_MANAGED_TYPES_COLLECTION
- See Also:
- Constant Field Values
getJarResourcePackageFragmentRoot
JavaResourcePackageFragmentRoot getJarResourcePackageFragmentRoot()
getJavaManagedTypes
Iterable<JavaManagedType> getJavaManagedTypes()
- Return the JAR file's Java managed types.
Return only the types that are annotated with JPA annotations.
getJavaManagedTypesSize
int getJavaManagedTypesSize()
- Return the size of the JAR file's Java managed types.
isIn
boolean isIn(IFolder folder)
- Return true if this jar file exists in the given folder
Copyright (c) 2012 Oracle. All rights reserved.