cdx.scorebot.net
Class CompetitionConfiguration.TeamInfo

java.lang.Object
  extended by cdx.scorebot.net.CompetitionConfiguration.TeamInfo
Enclosing class:
CompetitionConfiguration

public class CompetitionConfiguration.TeamInfo
extends java.lang.Object

Contains the skeleton information for a team

Author:
David Underhill

Constructor Summary
CompetitionConfiguration.TeamInfo(java.lang.String name)
          default constructor
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getHostnamePrefix()
          gets the ip/hostname to prefix to each suite's ip/hostname
 java.lang.String getHostnameSuffix()
          gets the ip/hostname to suffix to each suite's ip/hostname
 java.lang.String getName()
          gets the name of the team this applies to
 int hashCode()
          hashCode is the hashCode of the summation of hashCode of each non-transient data member
 TeamConfiguration makeConfig()
           
 void setHostnamePrefix(java.lang.String hostnamePrefix)
          sets the ip/hostname to prefix to each suite's ip/hostname
 void setHostnameSuffix(java.lang.String hostnameSuffix)
          sets the ip/hostname to suffix to each suite's ip/hostname
 void setName(java.lang.String name)
          sets the name of the team this applies to
 java.lang.String toString()
          returns the name of the suite this works with
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompetitionConfiguration.TeamInfo

public CompetitionConfiguration.TeamInfo(java.lang.String name)
default constructor

Method Detail

makeConfig

public TeamConfiguration makeConfig()
                             throws com.thoughtworks.xstream.core.BaseException,
                                    java.io.FileNotFoundException
Throws:
com.thoughtworks.xstream.core.BaseException
java.io.FileNotFoundException

getName

public java.lang.String getName()
gets the name of the team this applies to


setName

public void setName(java.lang.String name)
sets the name of the team this applies to


getHostnamePrefix

public java.lang.String getHostnamePrefix()
gets the ip/hostname to prefix to each suite's ip/hostname


setHostnamePrefix

public void setHostnamePrefix(java.lang.String hostnamePrefix)
sets the ip/hostname to prefix to each suite's ip/hostname


getHostnameSuffix

public java.lang.String getHostnameSuffix()
gets the ip/hostname to suffix to each suite's ip/hostname


setHostnameSuffix

public void setHostnameSuffix(java.lang.String hostnameSuffix)
sets the ip/hostname to suffix to each suite's ip/hostname


equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
hashCode is the hashCode of the summation of hashCode of each non-transient data member

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
returns the name of the suite this works with

Overrides:
toString in class java.lang.Object