Class ColumnResultMetadata


  • public class ColumnResultMetadata
    extends ORMetadata
    INTERNAL: Object to hold onto a column result metadata. Key notes: - any metadata mapped from XML to this class must be compared in the equals method. - all metadata mapped from XML 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:
    Guy Pelletier
    • Constructor Detail

      • ColumnResultMetadata

        public ColumnResultMetadata()
        INTERNAL: Used for XML loading.
    • 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
      • getName

        public java.lang.String getName()
        INTERNAL: Used for OX mapping.
      • getTypeName

        public java.lang.String getTypeName()
        INTERNAL: Used for OX mapping.
      • process

        public org.eclipse.persistence.queries.ColumnResult process()
        INTERNAL: Process the column result for the caller.
      • setName

        public void setName​(java.lang.String name)
        INTERNAL: Used for OX mapping.
      • setType

        public void setType​(MetadataClass type)
        INTERNAL:
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
        INTERNAL: Used for OX mapping.