ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm10
Interface PersistenceUnitMetadata<T>

All Superinterfaces:
Child<T>

public interface PersistenceUnitMetadata<T>
extends Child<T>

This interface defines the contract for the persistence-unit-metadata xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 PersistenceUnitDefaults<PersistenceUnitMetadata<T>> getOrCreatePersistenceUnitDefaults()
          If not already created, a new persistence-unit-defaults element with the given value will be created.
 Boolean isXmlMappingMetadataComplete()
          Removes the xml-mapping-metadata-complete element
 PersistenceUnitMetadata<T> removePersistenceUnitDefaults()
          Removes the persistence-unit-defaults element
 PersistenceUnitMetadata<T> removeXmlMappingMetadataComplete()
          Removes the xml-mapping-metadata-complete element
 PersistenceUnitMetadata<T> xmlMappingMetadataComplete()
          Sets the xml-mapping-metadata-complete element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

xmlMappingMetadataComplete

PersistenceUnitMetadata<T> xmlMappingMetadataComplete()
Sets the xml-mapping-metadata-complete element

Returns:
the current instance of PersistenceUnitMetadata

isXmlMappingMetadataComplete

Boolean isXmlMappingMetadataComplete()
Removes the xml-mapping-metadata-complete element

Returns:
the current instance of PersistenceUnitMetadata

removeXmlMappingMetadataComplete

PersistenceUnitMetadata<T> removeXmlMappingMetadataComplete()
Removes the xml-mapping-metadata-complete element

Returns:
the current instance of PersistenceUnitMetadata

getOrCreatePersistenceUnitDefaults

PersistenceUnitDefaults<PersistenceUnitMetadata<T>> getOrCreatePersistenceUnitDefaults()
If not already created, a new persistence-unit-defaults element with the given value will be created. Otherwise, the existing persistence-unit-defaults element will be returned.

Returns:
a new or existing instance of PersistenceUnitDefaults>

removePersistenceUnitDefaults

PersistenceUnitMetadata<T> removePersistenceUnitDefaults()
Removes the persistence-unit-defaults element

Returns:
the current instance of PersistenceUnitMetadata

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.