com.wilko.jaim
Class Buddy

java.lang.Object
  |
  +--com.wilko.jaim.Buddy

public class Buddy
extends java.lang.Object

This is a buddy object that holds the buddy's name and other information about a buddy.


Constructor Summary
Buddy(java.lang.String name)
          Constructor that sets the buddy name
 
Method Summary
 boolean getDeny()
          Gets the deny value
 java.lang.String getName()
          Gets the buddy name
 boolean getPermit()
          Gets the permit value
 void setDeny(boolean denyVal)
          Sets the deny value
 void setPermit(boolean permitVal)
          Sets the permit value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Buddy

public Buddy(java.lang.String name)
Constructor that sets the buddy name

Parameters:
name - the name of this buddy.
Method Detail

getName

public java.lang.String getName()
Gets the buddy name

Returns:
buddy name

setPermit

public void setPermit(boolean permitVal)
Sets the permit value

Parameters:
permitVal - what to set permit to

getPermit

public boolean getPermit()
Gets the permit value

Returns:
permit value

setDeny

public void setDeny(boolean denyVal)
Sets the deny value

Parameters:
denyVal - what to set deny to

getDeny

public boolean getDeny()
Gets the deny value

Returns:
deny value