Class Sponsorship

java.lang.Object
cz.metacentrum.perun.core.api.Sponsorship

public class Sponsorship extends Object
Class representing relationship between a sponsor (User id) and sponsored member (Member id).
Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>
  • Constructor Details

    • Sponsorship

      public Sponsorship()
  • Method Details

    • getSponsoredId

      public int getSponsoredId()
    • setSponsoredId

      public void setSponsoredId(int sponsoredId)
    • getSponsorId

      public int getSponsorId()
    • setSponsorId

      public void setSponsorId(int sponsorId)
    • getValidityTo

      public LocalDate getValidityTo()
    • setValidityTo

      public void setValidityTo(LocalDate validityTo)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive(boolean active)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object