cdx.scorebot.net
Class NetworkTestPackage.Owner

java.lang.Object
  extended by cdx.scorebot.net.NetworkTestPackage.Owner
Enclosing class:
NetworkTestPackage

public class NetworkTestPackage.Owner
extends java.lang.Object

info which uniquely identifies the team who is being tested by this package

Author:
David Underhill

Constructor Summary
NetworkTestPackage.Owner()
          default constructor (no-name owner)
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getCompName()
          gets the competition's name
 java.lang.String getOwnerName()
          gets the owner’s name
 void setCompName(java.lang.String compName)
          sets the competition's name
 void setOwnerName(java.lang.String ownerName)
          sets the owner’s name
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkTestPackage.Owner

public NetworkTestPackage.Owner()
default constructor (no-name owner)

Method Detail

getOwnerName

public java.lang.String getOwnerName()
gets the owner’s name


setOwnerName

public void setOwnerName(java.lang.String ownerName)
                  throws IllegalArgValException
sets the owner’s name

Throws:
IllegalArgValException - occurs if the owner's name isn't at least one character long

getCompName

public java.lang.String getCompName()
gets the competition's name


setCompName

public void setCompName(java.lang.String compName)
                 throws IllegalArgValException
sets the competition's name

Throws:
IllegalArgValException - occurs if the competition's name isn't at least one character long

equals

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