Class AnswerPK

java.lang.Object
com.amos2020.javabackend.entity.AnswerPK
All Implemented Interfaces:
java.io.Serializable

public class AnswerPK
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form
  • Field Summary

    Fields 
    Modifier and Type Field Description
    private int interviewId  
    private int questionId  
  • Constructor Summary

    Constructors 
    Constructor Description
    AnswerPK()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    int getInterviewId()  
    int getQuestionId()  
    int hashCode()  
    void setInterviewId​(int interviewId)  
    void setQuestionId​(int questionId)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getQuestionId

      public int getQuestionId()
    • setQuestionId

      public void setQuestionId​(int questionId)
    • getInterviewId

      public int getInterviewId()
    • setInterviewId

      public void setInterviewId​(int interviewId)
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object