org.walluck.oscar.client
Class Buddy

java.lang.Object
  extended by org.walluck.oscar.client.Buddy

public class Buddy
extends Object

Describe class Buddy here.

Version:
1.0
Author:
David Walluck

Field Summary
static Object AVAILABLE
           
static String BUDDY_STATE_AWAY
           
static String BUDDY_STATE_OFFLINE
           
static String BUDDY_STATE_ONLINE
           
static Object CAPABILITIES
          Should be an INTEGER.
static Object CLASS
          icq, normal, trial, bot, admin, aol, wireless, hiptop.
static Object GROUP
          The group that this buddy is in.
static Object IDLE_TIME
          Millisecond in Long
static Object MEMBER_SINCE
          java.util.Date.
static Object SESSION
          AIMSession
static Object SIGNON_TIME
          Millisecond in Long.
static Object STATE
           
static Object WARN_LEVEL
          Float.
 
Method Summary
 boolean equals(Object obj)
          Describe equals method here.
 String getName()
          Get the value of name.
 Object getProperty(Object key)
          Describe getProperty method here.
 int hashCode()
          The hashcode.
 boolean isTrue(Object key, Object value)
          Describe isTrue method here.
 void setProperty(Object key, Object value)
          Describe setProperty method here.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP

public static final Object GROUP
The group that this buddy is in.


STATE

public static final Object STATE

AVAILABLE

public static final Object AVAILABLE

CAPABILITIES

public static final Object CAPABILITIES
Should be an INTEGER.


CLASS

public static final Object CLASS
icq, normal, trial, bot, admin, aol, wireless, hiptop.


WARN_LEVEL

public static final Object WARN_LEVEL
Float.


MEMBER_SINCE

public static final Object MEMBER_SINCE
java.util.Date.


SIGNON_TIME

public static final Object SIGNON_TIME
Millisecond in Long.


IDLE_TIME

public static final Object IDLE_TIME
Millisecond in Long


SESSION

public static final Object SESSION
AIMSession


BUDDY_STATE_OFFLINE

public static final String BUDDY_STATE_OFFLINE
See Also:
Constant Field Values

BUDDY_STATE_ONLINE

public static final String BUDDY_STATE_ONLINE
See Also:
Constant Field Values

BUDDY_STATE_AWAY

public static final String BUDDY_STATE_AWAY
See Also:
Constant Field Values
Method Detail

getName

public String getName()
Get the value of name.

Returns:
value of name.

setProperty

public void setProperty(Object key,
                        Object value)
Describe setProperty method here.

Parameters:
key - an Object value
value - an Object value

getProperty

public Object getProperty(Object key)
Describe getProperty method here.

Parameters:
key - an Object value
Returns:
an Object value

isTrue

public boolean isTrue(Object key,
                      Object value)
Describe isTrue method here.

Parameters:
key - an Object value
value - an Object value
Returns:
a boolean value

equals

public boolean equals(Object obj)
Describe equals method here.

Overrides:
equals in class Object
Parameters:
obj - an Object value
Returns:
a boolean value

hashCode

public int hashCode()
The hashcode.

Overrides:
hashCode in class Object
Returns:
the hashcode