Class _SubmissionComment

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

    public abstract class _SubmissionComment
    extends BaseEntity

    Provides the _SubmissionComment 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

      • CREATED_AT_PROPERTY

        public static final String CREATED_AT_PROPERTY
        Provides the 'createdAt' property name.
        See Also:
        Constant Field Values
      • CREATED_BY_PROPERTY

        public static final String CREATED_BY_PROPERTY
        Provides the 'createdBy' property name.
        See Also:
        Constant Field Values
      • IP_ADDRESS_PROPERTY

        public static final String IP_ADDRESS_PROPERTY
        Provides the 'ipAddress' property name.
        See Also:
        Constant Field Values
      • SESSION_ID_PROPERTY

        public static final String SESSION_ID_PROPERTY
        Provides the 'sessionId' property name.
        See Also:
        Constant Field Values
      • CHILDREN_PROPERTY

        public static final String CHILDREN_PROPERTY
        Provides the 'children' 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
      • COMMENT_OID_PK_COLUMN

        public static final String COMMENT_OID_PK_COLUMN
        Provides the 'comment_oid' primary key database column name.
        See Also:
        Constant Field Values
      • CREATED_AT

        public static final org.apache.cayenne.exp.Property<Date> CREATED_AT
        Provides the 'CREATED_AT' property.
      • CREATED_BY

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

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

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

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

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

        public static final org.apache.cayenne.exp.Property<List<SubmissionComment>> CHILDREN
        Provides the 'CHILDREN' property.
      • PARENT

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

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

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

      • _SubmissionComment

        public _SubmissionComment()
    • Method Detail

      • setCreatedAt

        public void setCreatedAt​(Date createdAt)
        Set the createdAt value.
        Parameters:
        createdAt - the createdAt value to set
      • getCreatedAt

        public Date getCreatedAt()
        Return the createdAt value.
        Returns:
        createdAt the createdAt value
      • setCreatedBy

        public void setCreatedBy​(String createdBy)
        Set the createdBy value.
        Parameters:
        createdBy - the createdBy value to set
      • getCreatedBy

        public String getCreatedBy()
        Return the createdBy value.
        Returns:
        createdBy the createdBy value
      • setIpAddress

        public void setIpAddress​(String ipAddress)
        Set the ipAddress value.
        Parameters:
        ipAddress - the ipAddress value to set
      • getIpAddress

        public String getIpAddress()
        Return the ipAddress value.
        Returns:
        ipAddress the ipAddress value
      • setMessage

        public void setMessage​(String message)
        Set the message value.
        Parameters:
        message - the message value to set
      • getMessage

        public String getMessage()
        Return the message value.
        Returns:
        message the message value
      • setSessionId

        public void setSessionId​(String sessionId)
        Set the sessionId value.
        Parameters:
        sessionId - the sessionId value to set
      • getSessionId

        public String getSessionId()
        Return the sessionId value.
        Returns:
        sessionId the sessionId value
      • setTitle

        public void setTitle​(String title)
        Set the title value.
        Parameters:
        title - the title value to set
      • getTitle

        public String getTitle()
        Return the title value.
        Returns:
        title the title value
      • addToChildren

        public void addToChildren​(SubmissionComment obj)
        Add the Children object.
        Parameters:
        obj - the children value to add
      • removeFromChildren

        public void removeFromChildren​(SubmissionComment obj)
        Remove the Children object.
        Parameters:
        obj - the children value to remove
      • getChildren

        public List<SubmissionComment> getChildren()
        Return the Children.
        Returns:
        children value
      • setParent

        public void setParent​(SubmissionComment parent)
        Set the Parent.
        Parameters:
        parent - the parent value to set
      • getParent

        public SubmissionComment getParent()
        Return the Parent.
        Returns:
        the parent 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
      • setUser

        public void setUser​(UserAccount user)
        Set the User.
        Parameters:
        user - the user value to set
      • getUser

        public UserAccount getUser()
        Return the User.
        Returns:
        the user value