public class PersistenceUnitsDescriptor extends RootDeploymentDescriptor
classLoader, deplLogger, extensions, moduleDescriptor, moduleIDDESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
PersistenceUnitsDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPersistenceUnitDescriptor(PersistenceUnitDescriptor pud)
This method does not do any validation like checking for unique names
of PersistenceUnits.
|
String |
getAbsolutePuRoot()
This is a utility method which calculates the absolute path of the
root of a PU.
|
ClassLoader |
getClassLoader() |
String |
getDefaultSpecVersion() |
String |
getModuleID() |
ArchiveType |
getModuleType() |
RootDeploymentDescriptor |
getParent() |
List<PersistenceUnitDescriptor> |
getPersistenceUnitDescriptors() |
String |
getPuRoot() |
boolean |
isApplication() |
boolean |
isEmpty()
Return true if this root deployment descriptor does not describe anything
|
void |
setParent(RootDeploymentDescriptor parent) |
void |
setPuRoot(String puRoot) |
addExtensionDescriptor, getDisplayName, getExtensionsDescriptors, getExtensionsDescriptors, getExtensionsDescriptors, getMainDescriptor, getModuleDescriptor, getName, getSchemaLocation, getSpecVersion, getTracerVisitor, isExtensionDescriptor, print, setClassLoader, setDisplayName, setModuleDescriptor, setModuleID, setName, setSchemaLocation, setSpecVersionaddDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic RootDeploymentDescriptor getParent()
public void setParent(RootDeploymentDescriptor parent)
public String getPuRoot()
public void setPuRoot(String puRoot)
public String getDefaultSpecVersion()
getDefaultSpecVersion in class RootDeploymentDescriptorpublic String getModuleID()
getModuleID in class RootDeploymentDescriptorpublic ArchiveType getModuleType()
getModuleType in class RootDeploymentDescriptorpublic ClassLoader getClassLoader()
getClassLoader in class RootDeploymentDescriptorpublic boolean isApplication()
isApplication in class RootDeploymentDescriptorpublic void addPersistenceUnitDescriptor(PersistenceUnitDescriptor pud)
pud - the PersistenceUnitDescriptor to be added.public List<PersistenceUnitDescriptor> getPersistenceUnitDescriptors()
public String getAbsolutePuRoot()
getPuRoot() returned path always uses '/' as path separator.getPuRoot()public boolean isEmpty()
RootDeploymentDescriptorisEmpty in class RootDeploymentDescriptorCopyright © 2017. All rights reserved.