Class XMLPersistenceUnitDefaults

java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.xml.XMLPersistenceUnitDefaults

public class XMLPersistenceUnitDefaults extends ORMetadata
Object to hold onto the XML persistence unit defaults. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - when loading from annotations, the constructor accepts the metadata accessor this metadata was loaded from. Used it to look up any 'companion' annotation needed for processing. - methods should be preserved in alphabetical order.
Since:
EclipseLink 1.0
  • Constructor Details

    • XMLPersistenceUnitDefaults

      public XMLPersistenceUnitDefaults()
      INTERNAL:
  • Method Details

    • equals

      public boolean equals(Object objectToCompare)
      INTERNAL:
      Specified by:
      equals in class ORMetadata
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getAccess

      public String getAccess()
      INTERNAL: Used for OX mapping.
    • getAccessMethods

      public AccessMethodsMetadata getAccessMethods()
      INTERNAL: Used for OX mapping.
    • getCascadePersist

      public Boolean getCascadePersist()
      INTERNAL: Used for OX mapping.
    • getCatalog

      public String getCatalog()
      INTERNAL: Used for OX mapping.
    • getDelimitedIdentifiers

      public Boolean getDelimitedIdentifiers()
      INTERNAL: Used for OX mapping.
    • getEntityListeners

      public List<EntityListenerMetadata> getEntityListeners()
      INTERNAL: Used for OX mapping.
    • getSchema

      public String getSchema()
      INTERNAL: Used for OX mapping.
    • getTenantDiscriminatorColumns

      public List<TenantDiscriminatorColumnMetadata> getTenantDiscriminatorColumns()
      INTERNAL: Used for OX mapping.
    • hasAccessMethods

      public boolean hasAccessMethods()
      INTERNAL:
    • initXMLObject

      public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings)
      INTERNAL:
      Overrides:
      initXMLObject in class ORMetadata
    • isCascadePersist

      public boolean isCascadePersist()
      INTERNAL: Used for OX mapping.
    • isDelimitedIdentifiers

      public boolean isDelimitedIdentifiers()
      INTERNAL: Used for OX mapping.
    • merge

      public void merge(ORMetadata metadata)
      INTERNAL:
      Overrides:
      merge in class ORMetadata
    • setAccess

      public void setAccess(String access)
      INTERNAL: Used for OX mapping.
    • setAccessMethods

      public void setAccessMethods(AccessMethodsMetadata accessMethods)
      INTERNAL: Used for OX mapping.
    • setCascadePersist

      public void setCascadePersist(Boolean cascadePersist)
      INTERNAL: Used for OX mapping.
    • setCatalog

      public void setCatalog(String catalog)
      INTERNAL: Used for OX mapping.
    • setDelimitedIdentifiers

      public void setDelimitedIdentifiers(Boolean delimitedIdentifiers)
      INTERNAL: Used for OX mapping.
    • setEntityListeners

      public void setEntityListeners(List<EntityListenerMetadata> entityListeners)
      INTERNAL: Used for OX mapping.
    • setSchema

      public void setSchema(String schema)
      INTERNAL: Used for OX mapping.
    • setTenantDiscriminatorColumns

      public void setTenantDiscriminatorColumns(List<TenantDiscriminatorColumnMetadata> tenantDiscriminatorColumns)
      INTERNAL: Used for OX mapping.