Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.dma.ihm.game.league.helper
Class LeagueElementGroup  view LeagueElementGroup download LeagueElementGroup.java

java.lang.Object
  extended byorg.dma.ihm.game.league.helper.LeagueElementGroup
All Implemented Interfaces:
java.io.Serializable

public class LeagueElementGroup
extends java.lang.Object
implements java.io.Serializable

LeagueElementGroup Helper class containing a group of LeagueElements


Field Summary
private  org.dma.ihm.game.league.League league
          League of this group
private  java.util.Vector leagueElements
          Vector of LeagueElements
private  java.lang.String name
          Name of this group
 
Constructor Summary
LeagueElementGroup(org.dma.ihm.game.league.League league, java.lang.String name)
          Constructs group
 
Method Summary
 void addLeagueElement(LeagueElement leagueElement)
          Add LeagueElement to group
 java.lang.String getDescription()
          Returns complete description of this elementGroup (owner, league, name)
 org.dma.ihm.game.league.League getLeague()
          Gets the league attribute of the LeagueElementGroup object
 int getLeagueElementCount()
          Returns count of all LeagueElements in this group
 java.util.Vector getLeagueElements()
          Returns vector of all LeagueElements in this group
 java.lang.String getName()
          Returns the name of this group
 org.dma.ihm.game.player.Player[] getPlayers()
          Gets the players attribute of the LeagueElementGroup object
 org.dma.ihm.game.player.PlayerStats[] getPlayerStats()
          Gets the playerStats attribute of the LeagueElementGroup object
 org.dma.ihm.game.team.Team[] getTeams()
          Gets the teams attribute of the LeagueElementGroup object
 org.dma.ihm.game.team.TeamStats[] getTeamStats()
          Gets the teamStats attribute of the LeagueElement object
 java.lang.String toString()
          Overrides the toString method with something more usefull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

leagueElements

private java.util.Vector leagueElements
Vector of LeagueElements


name

private java.lang.String name
Name of this group


league

private org.dma.ihm.game.league.League league
League of this group

Constructor Detail

LeagueElementGroup

public LeagueElementGroup(org.dma.ihm.game.league.League league,
                          java.lang.String name)
Constructs group

Method Detail

addLeagueElement

public void addLeagueElement(LeagueElement leagueElement)
Add LeagueElement to group


getLeagueElements

public java.util.Vector getLeagueElements()
Returns vector of all LeagueElements in this group


getLeagueElementCount

public int getLeagueElementCount()
Returns count of all LeagueElements in this group


getName

public java.lang.String getName()
Returns the name of this group


getLeague

public org.dma.ihm.game.league.League getLeague()
Gets the league attribute of the LeagueElementGroup object


getPlayers

public org.dma.ihm.game.player.Player[] getPlayers()
Gets the players attribute of the LeagueElementGroup object


getPlayerStats

public org.dma.ihm.game.player.PlayerStats[] getPlayerStats()
Gets the playerStats attribute of the LeagueElementGroup object


getTeams

public org.dma.ihm.game.team.Team[] getTeams()
Gets the teams attribute of the LeagueElementGroup object


getTeamStats

public org.dma.ihm.game.team.TeamStats[] getTeamStats()
Gets the teamStats attribute of the LeagueElement object


getDescription

public java.lang.String getDescription()
Returns complete description of this elementGroup (owner, league, name)


toString

public java.lang.String toString()
Overrides the toString method with something more usefull