@FacetConstraint(value=ResourcesFacet.class) public interface JPAFacet<DESCRIPTOR extends org.jboss.shrinkwrap.descriptor.api.persistence.PersistenceCommonDescriptor> extends JavaEEFacet, Configurable<DESCRIPTOR>
Project supports features from the JPA specification.DEFAULT_CDI_PACKAGE, DEFAULT_CONSTRAINT_PACKAGE, DEFAULT_ENTITY_PACKAGE| Modifier and Type | Method and Description |
|---|---|
List<org.jboss.forge.roaster.model.source.JavaClassSource> |
getAllEntities()
Get a list of all @Entity classes in the default entity package.
|
String |
getEntityPackage()
Get this
Project's default package for @Entity objects |
DirectoryResource |
getEntityPackageDir()
Get this
Project's default @Entity package directory. |
getSpecName, getSpecVersiongetFaceted, install, isInstalled, uninstallgetConfig, getConfigFile, saveConfigDirectoryResource getEntityPackageDir()
Project's default @Entity package directory.List<org.jboss.forge.roaster.model.source.JavaClassSource> getAllEntities()
#getEntityPackage()}, {@link #getEntityPackageDir()}Copyright © 2015 JBoss by Red Hat. All rights reserved.