Class PatchSetApproval


  • public final class PatchSetApproval
    extends Object
    An approval (or negative approval) on a patch set.
    • Field Detail

      • value

        protected short value
        Value assigned by the user.

        The precise meaning of "value" is up to each category.

        In general:

        • < 0: The approval is rejected/revoked.
        • = 0: No indication either way is provided.
        • > 0: The approval is approved/positive.
        and in the negative and positive direction a magnitude can be assumed.The further from 0 the more assertive the approval.
      • postSubmit

        protected boolean postSubmit
    • Method Detail

      • getRealAccountId

        public Account.Id getRealAccountId()
      • setRealAccountId

        public void setRealAccountId​(Account.Id id)
      • getLabelId

        public LabelId getLabelId()
      • getValue

        public short getValue()
      • setValue

        public void setValue​(short v)
      • setGranted

        public void setGranted​(Date when)
      • setTag

        public void setTag​(String t)
      • getLabel

        public String getLabel()
      • isLegacySubmit

        public boolean isLegacySubmit()
      • getTag

        public String getTag()
      • setPostSubmit

        public void setPostSubmit​(boolean postSubmit)
      • isPostSubmit

        public boolean isPostSubmit()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object