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 java.lang.Boolean getReturnOnly()
        INTERNAL: Used for OX mapping.
      • 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
      • process

        public void process​(MetadataDescriptor descriptor,
                            org.eclipse.persistence.internal.helper.DatabaseField field)
        INTERNAL:
      • setReturnOnly

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