Class BanOnVo

All Implemented Interfaces:
Serializable, Comparable<PerunBean>

public class BanOnVo extends Ban
Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>
See Also:
  • Constructor Details

    • BanOnVo

      public BanOnVo()
    • BanOnVo

      public BanOnVo(int id, int memberId, int voId, Date validityTo, String description)
  • Method Details

    • getMemberId

      public int getMemberId()
    • setMemberId

      public void setMemberId(int memberId)
    • getSubjectId

      public int getSubjectId()
      Description copied from class: Ban
      Id of subject who is banned on target.
      Specified by:
      getSubjectId in class Ban
      Returns:
      id of affected subject
    • getTargetId

      public int getTargetId()
      Description copied from class: Ban
      Id of target where subject is banned on.
      Specified by:
      getTargetId in class Ban
      Returns:
      id of affected target
    • getType

      public String getType()
      Description copied from class: Ban
      Class name of specific ban.
      Specified by:
      getType in class Ban
      Returns:
      class name of specific ban
    • getVoId

      public int getVoId()
    • setVoId

      public void setVoId(int voId)
    • toString

      public String toString()
      Overrides:
      toString in class Ban