Class 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
    Author:
    Guy Pelletier
    • Constructor Detail

      • XMLPersistenceUnitDefaults

        public XMLPersistenceUnitDefaults()
        INTERNAL:
    • Method Detail

      • 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.
      • 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.
      • getSchema

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

        public boolean hasAccessMethods()
        INTERNAL:
      • isCascadePersist

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

        public boolean isDelimitedIdentifiers()
        INTERNAL: Used for OX mapping.
      • 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.