java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.cache.CacheIndexMetadata

public class CacheIndexMetadata extends ORMetadata
INTERNAL: Object to hold onto cache index metadata. 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 2.2
  • Constructor Details

    • CacheIndexMetadata

      public CacheIndexMetadata()
      INTERNAL: Used for OX mapping.
    • CacheIndexMetadata

      public CacheIndexMetadata(MetadataAnnotation index, MetadataAccessor accessor)
      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
    • getColumnNames

      public List<String> getColumnNames()
      INTERNAL: Used for OX mapping.
    • getUpdateable

      public Boolean getUpdateable()
      INTERNAL: Used for OX mapping.
    • process

      public void process(MetadataDescriptor descriptor, String defaultColumnName)
      INTERNAL: Process the index metadata
    • setColumnNames

      public void setColumnNames(List<String> columnNames)
      INTERNAL: Used for OX mapping.
    • setUpdateable

      public void setUpdateable(Boolean updateable)
      INTERNAL: Used for OX mapping.