View Javadoc
1 /* 2 * Award.java 3 * 4 * Created on February 17, 2003, 8:28 PM 5 */ 6 7 package com.mlw.fps.model.business.vo.stats; 8 9 import com.mlw.fps.model.business.vo.Player; 10 /*** 11 * 12 * @author Matthew Wilson 13 */ 14 public class Award 15 { 16 private long usage; 17 private Player player; 18 19 /*** Creates a new instance of Award 20 */ 21 public Award(Player player) 22 { 23 this.player = player; 24 } 25 26 /*** Getter for property usage. 27 * @return Value of property usage. 28 */ 29 public Long getUsage() 30 { 31 return new Long(this.usage); 32 } 33 34 /*** Setter for property usage. 35 * @param usage New value of property usage. 36 */ 37 public void addUsage() 38 { 39 this.usage++; 40 } 41 42 /*** Getter for property player. 43 * @return Value of property player. 44 */ 45 public Player getPlayer() 46 { 47 return this.player; 48 } 49 }

This page was automatically generated by Maven