Class _Attachment

  • All Implemented Interfaces:
    IEntity, Serializable, org.apache.cayenne.DataObject, org.apache.cayenne.Persistent, org.apache.cayenne.Validating
    Direct Known Subclasses:
    Attachment

    public abstract class _Attachment
    extends BaseEntity

    Provides the _Attachment database entity.

    Please note this class was generated by Cayenne. You should avoid making changes to this class as it may be regenerated. Please make customizations to the entity subclass.

    See Also:
    Serialized Form
    • Field Detail

      • ATTACHMENT_KEY_PROPERTY

        public static final String ATTACHMENT_KEY_PROPERTY
        Provides the 'attachmentKey' property name.
        See Also:
        Constant Field Values
      • FILE_UPLOAD_PROPERTY

        public static final String FILE_UPLOAD_PROPERTY
        Provides the 'fileUpload' relationship name.
        See Also:
        Constant Field Values
      • REQUIRED_ATTACHMENT_PROPERTY

        public static final String REQUIRED_ATTACHMENT_PROPERTY
        Provides the 'requiredAttachment' relationship name.
        See Also:
        Constant Field Values
      • SUBMISSION_PROPERTY

        public static final String SUBMISSION_PROPERTY
        Provides the 'submission' relationship name.
        See Also:
        Constant Field Values
      • ATTACHMENT_OID_PK_COLUMN

        public static final String ATTACHMENT_OID_PK_COLUMN
        Provides the 'attachment_oid' primary key database column name.
        See Also:
        Constant Field Values
      • ATTACHMENT_KEY

        public static final org.apache.cayenne.exp.Property<String> ATTACHMENT_KEY
        Provides the 'ATTACHMENT_KEY' property.
      • FILE_UPLOAD

        public static final org.apache.cayenne.exp.Property<FileUpload> FILE_UPLOAD
        Provides the 'FILE_UPLOAD' property.
      • REQUIRED_ATTACHMENT

        public static final org.apache.cayenne.exp.Property<RequiredAttachment> REQUIRED_ATTACHMENT
        Provides the 'REQUIRED_ATTACHMENT' property.
      • SUBMISSION

        public static final org.apache.cayenne.exp.Property<Submission> SUBMISSION
        Provides the 'SUBMISSION' property.
    • Constructor Detail

      • _Attachment

        public _Attachment()
    • Method Detail

      • setAttachmentKey

        public void setAttachmentKey​(String attachmentKey)
        Set the attachmentKey value.
        Parameters:
        attachmentKey - the attachmentKey value to set
      • getAttachmentKey

        public String getAttachmentKey()
        Return the attachmentKey value.
        Returns:
        attachmentKey the attachmentKey value
      • setFileUpload

        public void setFileUpload​(FileUpload fileUpload)
        Set the FileUpload.
        Parameters:
        fileUpload - the fileUpload value to set
      • getFileUpload

        public FileUpload getFileUpload()
        Return the FileUpload.
        Returns:
        the fileUpload value
      • setRequiredAttachment

        public void setRequiredAttachment​(RequiredAttachment requiredAttachment)
        Set the RequiredAttachment.
        Parameters:
        requiredAttachment - the requiredAttachment value to set
      • getRequiredAttachment

        public RequiredAttachment getRequiredAttachment()
        Return the RequiredAttachment.
        Returns:
        the requiredAttachment value
      • setSubmission

        public void setSubmission​(Submission submission)
        Set the Submission.
        Parameters:
        submission - the submission value to set
      • getSubmission

        public Submission getSubmission()
        Return the Submission.
        Returns:
        the submission value