org.gbanga.api
Class Report

java.lang.Object
  extended by org.gbanga.api.Report

public class Report
extends java.lang.Object

A report is a notification about a supposed abusing player.

Details about JSON serialization

For the JSON object serialization, the field names are used. Eg.

 {
   subject: { name: "some name" },
   explanation: "unfriendly"
 }
 

Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.

Author:
Matthias

Field Summary
 java.lang.String explanation
          An explanation why the Player has been reported
 Player reporter
          The reporting Player
 Player subject
          The Player to report about
 
Constructor Summary
Report()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

explanation

public java.lang.String explanation
An explanation why the Player has been reported


reporter

public Player reporter
The reporting Player


subject

public Player subject
The Player to report about

Constructor Detail

Report

public Report()