Interface SanctionBase

All Known Subinterfaces:
CalculablePunishment, DraftPunishment, DraftSanction, Punishment, PunishmentBase

public interface SanctionBase
Base interface for all sanctions. A sanction, as opposed to a full punishment, need not have specific details such as duration, type, reason, or scope specified.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the operator of the sanction or punishment
    Gets the victim of the sanction or punishment
  • Method Details

    • getVictim

      Victim getVictim()
      Gets the victim of the sanction or punishment
      Returns:
      the victim
    • getOperator

      Operator getOperator()
      Gets the operator of the sanction or punishment
      Returns:
      the operator