Class NoSqlMetadata


  • public class NoSqlMetadata
    extends ORMetadata
    Defines the metadata for the @EIS annotation for mapping an EISDescriptor. 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.4
    Author:
    James Sutherland
    • Constructor Detail

      • NoSqlMetadata

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

      • getDataFormat

        public java.lang.String getDataFormat()
        INTERNAL: Used for OX mapping.
      • getDataType

        public java.lang.String getDataType()
        INTERNAL: Used for OX mapping.
      • equals

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

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

        public void process​(MetadataDescriptor descriptor)
        INTERNAL: Switch the descriptor to the correct type and set the data-type name and format.
      • setDataFormat

        public void setDataFormat​(java.lang.String dataFormat)
        INTERNAL: Used for OX mapping.
      • setDataType

        public void setDataType​(java.lang.String dataType)
        INTERNAL: Used for OX mapping.