Class PersistenceUnitDescriptor

    • Constructor Detail

      • PersistenceUnitDescriptor

        public PersistenceUnitDescriptor()
    • Method Detail

      • getName

        public String getName()
        Description copied from class: Descriptor
        The name of this descriptor as a String.
        Overrides:
        getName in class Descriptor
        Returns:
        the name of this descriptor
      • setName

        public void setName​(String value)
        Description copied from class: Descriptor
        Sets the name of this descriptor.
        Overrides:
        setName in class Descriptor
        Parameters:
        value - the new name of the descriptor.
      • getTransactionType

        public String getTransactionType()
      • setTransactionType

        public void setTransactionType​(String transactionType)
      • getDescription

        public String getDescription()
        Description copied from class: Descriptor
        The description text of this descriptor as a String.
        Overrides:
        getDescription in class Descriptor
        Returns:
        the description text of this descriptor
      • setDescription

        public void setDescription​(String description)
        Description copied from class: Descriptor
        Sets the description text of this descriptor.
        Overrides:
        setDescription in class Descriptor
        Parameters:
        description - the new description text of the descriptor.
      • getProvider

        public String getProvider()
      • setProvider

        public void setProvider​(String value)
      • getJtaDataSource

        public String getJtaDataSource()
      • setJtaDataSource

        public void setJtaDataSource​(String value)
      • getNonJtaDataSource

        public String getNonJtaDataSource()
      • setNonJtaDataSource

        public void setNonJtaDataSource​(String value)
      • getMappingFiles

        public List<String> getMappingFiles()
      • addMappingFile

        public void addMappingFile​(String mappingFile)
      • addJarFile

        public void addJarFile​(String jarFile)
      • addClass

        public void addClass​(String className)
      • getProperties

        public Properties getProperties()
      • addProperty

        public void addProperty​(String name,
                                Object value)
      • isExcludeUnlistedClasses

        public boolean isExcludeUnlistedClasses()
      • setExcludeUnlistedClasses

        public void setExcludeUnlistedClasses​(boolean excludeUnlistedClasses)
      • getSharedCacheMode

        public jakarta.persistence.SharedCacheMode getSharedCacheMode()
      • setSharedCacheMode

        public void setSharedCacheMode​(String sharedCacheMode)
      • getValidationMode

        public jakarta.persistence.ValidationMode getValidationMode()
      • setValidationMode

        public void setValidationMode​(String validationMode)
      • getPuRoot

        public String getPuRoot()