cz.cuni.amis.pogamut.multi.agent.impl
Class TeamedAgentId

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.impl.AgentId
      extended by cz.cuni.amis.pogamut.multi.agent.impl.TeamedAgentId
All Implemented Interfaces:
IAgentId, ITeamedAgentId, IToken, java.io.Serializable

public class TeamedAgentId
extends AgentId
implements ITeamedAgentId

See Also:
Serialized Form

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.impl.AgentId
AGENT_NAME_DEPENDENCY, NO_NAME, random
 
Constructor Summary
TeamedAgentId()
           
TeamedAgentId(java.lang.String agentName)
           
TeamedAgentId(java.lang.String agentName, java.lang.String teamId)
           
 
Method Summary
 ITeamId getTeamId()
           
 void setTeamId(TeamId teamId)
           
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.impl.AgentId
equals, getIds, getName, getToken, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgentId
getName, getToken
 
Methods inherited from interface cz.cuni.amis.utils.token.IToken
getIds
 

Constructor Detail

TeamedAgentId

public TeamedAgentId()

TeamedAgentId

@Inject
public TeamedAgentId(java.lang.String agentName)

TeamedAgentId

public TeamedAgentId(java.lang.String agentName,
                     java.lang.String teamId)
Method Detail

getTeamId

public ITeamId getTeamId()
Specified by:
getTeamId in interface ITeamedAgentId

toString

public java.lang.String toString()
Overrides:
toString in class AgentId

setTeamId

public void setTeamId(TeamId teamId)