Class ValuePartitionMetadata


  • public class ValuePartitionMetadata
    extends ORMetadata
    INTERNAL: Define JPA meta-data for partitioning policy. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - any metadata mapped from XML to this class must be initialized in the initXMLObject 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 2.2
    Author:
    James Sutherland
    • Field Detail

      • connectionPool

        protected String connectionPool
      • value

        protected String value
    • Constructor Detail

      • ValuePartitionMetadata

        public ValuePartitionMetadata()
        INTERNAL: Used for XML loading.
    • Method Detail

      • equals

        public boolean equals​(Object objectToCompare)
        INTERNAL: Used for XML merging and overriding.
        Specified by:
        equals in class ORMetadata
      • hashCode

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

        public String getConnectionPool()
        INTERNAL: Used for OX mapping.
      • getValue

        public String getValue()
        INTERNAL: Used for OX mapping.
      • setConnectionPool

        public void setConnectionPool​(String connectionPool)
        INTERNAL: Used for OX mapping.
      • setValue

        public void setValue​(String value)
        INTERNAL: Used for OX mapping.