Class ReturnInsertMetadata


  • public class ReturnInsertMetadata
    extends ORMetadata
    Object to hold onto return insert 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.1
    Author:
    Guy Pelletier
    • Constructor Detail

      • ReturnInsertMetadata

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

      • getReturnOnly

        public Boolean getReturnOnly()
        INTERNAL: Used for OX mapping.
      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class Object
      • setReturnOnly

        public void setReturnOnly​(Boolean returnOnly)
        INTERNAL: Used for OX mapping.