java.lang.Object
com.gamersafer.minecraft.bans.common.db.model.Ban

public class Ban extends Object
  • Constructor Details

    • Ban

      public Ban(int id, String uniqueServerId, Date timestamp, Date timestampEnding, UUID playerUuid, String playerName, UUID reporterPlayerUuid, String reporterPlayerName, String category, boolean wasChildInvolved, String description, boolean active)
  • Method Details

    • getId

      public int getId()
    • getUniqueServerId

      public Optional<String> getUniqueServerId()
    • getTimestamp

      public Date getTimestamp()
    • getTimestampEnding

      public Date getTimestampEnding()
    • getPlayerUuid

      public UUID getPlayerUuid()
    • getPlayerName

      public String getPlayerName()
    • getReporterPlayerUuid

      public UUID getReporterPlayerUuid()
    • getReporterPlayerName

      public String getReporterPlayerName()
    • getCategory

      public String getCategory()
    • wasChildInvolved

      public boolean wasChildInvolved()
    • getDescription

      public String getDescription()
    • isActive

      public boolean isActive()
    • deactivate

      public void deactivate()
    • 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