net.sf.asterisk.manager.event
Class DBGetResponseEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.ResponseEvent
              extended by net.sf.asterisk.manager.event.DBGetResponseEvent
All Implemented Interfaces:
java.io.Serializable

public class DBGetResponseEvent
extends ResponseEvent

A DBGetResponseEvent is sent in response to a DBGetAction and contains the entry that was queried.
Available since Asterisk 1.2

Since:
0.2
Version:
$Id: DBGetResponseEvent.java,v 1.2 2005/07/16 13:44:36 srt Exp $
Author:
srt
See Also:
DBGetAction, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DBGetResponseEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getFamily()
          Returns the family of the database entry that was queried.
 java.lang.String getKey()
          Returns the key of the database entry that was queried.
 java.lang.String getVal()
          Returns the value of the database entry that was queried.
 void setFamily(java.lang.String family)
          Sets the family of the database entry that was queried.
 void setKey(java.lang.String key)
          Sets the key of the database entry that was queried.
 void setVal(java.lang.String val)
          Sets the value of the database entry that was queried.
 
Methods inherited from class net.sf.asterisk.manager.event.ResponseEvent
getActionId, getInternalActionId, setActionId, setInternalActionId
 
Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent
getDateReceived, getPrivilege, setDateReceived, setPrivilege, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBGetResponseEvent

public DBGetResponseEvent(java.lang.Object source)
Parameters:
source -
Method Detail

getFamily

public java.lang.String getFamily()
Returns the family of the database entry that was queried.

Returns:
the family of the database entry that was queried.

setFamily

public void setFamily(java.lang.String family)
Sets the family of the database entry that was queried.

Parameters:
family - the family of the database entry that was queried.

getKey

public java.lang.String getKey()
Returns the key of the database entry that was queried.

Returns:
the key of the database entry that was queried.

setKey

public void setKey(java.lang.String key)
Sets the key of the database entry that was queried.

Parameters:
key - the key of the database entry that was queried.

getVal

public java.lang.String getVal()
Returns the value of the database entry that was queried.

Returns:
the value of the database entry that was queried.

setVal

public void setVal(java.lang.String val)
Sets the value of the database entry that was queried.

Parameters:
val - the value of the database entry that was queried.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.