View Javadoc
1 /* 2 * KillStats.java 3 * 4 * Created on February 12, 2003, 9:59 AM 5 */ 6 7 package com.mlw.fps.model.business.vo.stats; 8 9 import com.mlw.fps.model.business.vo.Kill; 10 /*** 11 * 12 * @author Matthew Wilson 13 */ 14 public class KillStats 15 { 16 private Kill kill; 17 private long advantage; 18 19 /*** Holds value of property factor. */ 20 private int factor; 21 22 /*** Creates a new instance of KillStats 23 */ 24 public KillStats(Kill kill, long advantage, int factor) 25 { 26 this.factor = factor; 27 this.advantage = advantage; 28 this.kill = kill; 29 } 30 31 /*** Getter for property kill. 32 * @return Value of property kill. 33 */ 34 public Kill getKill() 35 { 36 return this.kill; 37 } 38 39 /*** Setter for property kill. 40 * @param kill New value of property kill. 41 */ 42 public void setKill(Kill kill) 43 { 44 this.kill = kill; 45 } 46 47 /*** Getter for property advantage. 48 * @return Value of property advantage. 49 */ 50 public Long getAdvantage() 51 { 52 return new Long(this.advantage); 53 } 54 55 /*** Setter for property advantage. 56 * @param advantage New value of property advantage. 57 */ 58 public void setAdvantage(long advantage) 59 { 60 this.advantage = advantage; 61 } 62 63 /*** Getter for property factor. 64 * @return Value of property factor. 65 */ 66 public int getFactor() 67 { 68 return this.factor; 69 } 70 71 /*** Setter for property factor. 72 * @param factor New value of property factor. 73 */ 74 public void setFactor(int factor) 75 { 76 this.factor = factor; 77 } 78 79 }

This page was automatically generated by Maven