Class 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
    Author:
    James Sutherland
    • Constructor Detail

      • CacheIndexMetadata

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

      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        INTERNAL:
        Specified by:
        equals in class ORMetadata
      • hashCode

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

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

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

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

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

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