java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.mappings.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
  • Constructor Details

    • ReturnInsertMetadata

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

      public ReturnInsertMetadata(MetadataAnnotation returnInsert, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
  • Method Details

    • 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
    • process

      public void process(MetadataDescriptor descriptor, DatabaseField field)
      INTERNAL:
    • setReturnOnly

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