Class RangePartitionMetadata


  • public class RangePartitionMetadata
    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 java.lang.String connectionPool
      • startValue

        protected java.lang.String startValue
      • endValue

        protected java.lang.String endValue
    • Constructor Detail

      • RangePartitionMetadata

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

      • equals

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

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

        public java.lang.String getConnectionPool()
        INTERNAL: Used for OX mapping.
      • getEndValue

        public java.lang.String getEndValue()
        INTERNAL: Used for OX mapping.
      • getStartValue

        public java.lang.String getStartValue()
        INTERNAL: Used for OX mapping.
      • setConnectionPool

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

        public void setEndValue​(java.lang.String endValue)
        INTERNAL: Used for OX mapping.
      • setStartValue

        public void setStartValue​(java.lang.String startValue)
        INTERNAL: Used for OX mapping.