java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.partitioning.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
  • Field Details

    • connectionPool

      protected String connectionPool
    • value

      protected String value
  • Constructor Details

    • ValuePartitionMetadata

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

      public ValuePartitionMetadata(MetadataAnnotation annotation, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details

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