fr.lifl.magique.util
Class TeamInfo

java.lang.Object
  extended byfr.lifl.magique.util.TeamInfo
All Implemented Interfaces:
java.io.Serializable

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

stores vector of names of all the agents occuring in the hierarchy under some agent (the one maps in the Team object) and vector of names of all the methods that can be achieved by one of these agents

See Also:
Team, Serialized Form

Constructor Summary
TeamInfo(java.util.Vector names, java.util.Vector methods)
           
 
Method Summary
 void addMethod(java.lang.String method)
          adds a method to the already known methods
 void addMethods(java.util.Vector methods)
          adds a set of methods to the already known methods
 void addName(java.lang.String name)
          adds a name to the already known names
 void addNames(java.util.Vector names)
          adds a set of names to the already known names
 java.util.Vector getMethods()
          returns the methods
 java.util.Vector getNames()
          returns the names
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamInfo

public TeamInfo(java.util.Vector names,
                java.util.Vector methods)
Parameters:
names - the vector of the names of the agents
Method Detail

getNames

public java.util.Vector getNames()
returns the names

Returns:
the names

getMethods

public java.util.Vector getMethods()
returns the methods

Returns:
the methods

addName

public void addName(java.lang.String name)
adds a name to the already known names

Parameters:
name - the name to add

addNames

public void addNames(java.util.Vector names)
adds a set of names to the already known names


addMethod

public void addMethod(java.lang.String method)
adds a method to the already known methods


addMethods

public void addMethods(java.util.Vector methods)
adds a set of methods to the already known methods