[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event DBGetResponseEvent.jav
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-07-16 13:40:02
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25122/src/java/net/sf/asterisk/manager/event Added Files: DBGetResponseEvent.java Log Message: Added DBGetResponseEvent --- NEW FILE: DBGetResponseEvent.java --- /* * Copyright 2004-2005 Stefan Reuter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package net.sf.asterisk.manager.event; /** * A DBGetResponseEvent is sent in response to a DBGetAction and contains the * entry that was queried.<br> * Available since Asterisk 1.2 * * @see net.sf.asterisk.manager.action.DBGetAction * @author srt * @version $Id: DBGetResponseEvent.java,v 1.1 2005/07/16 13:39:54 srt Exp $ * @since 0.2 */ public class DBGetResponseEvent extends ResponseEvent { private String family; private String key; private String value; /** * Serial version identifier */ private static final long serialVersionUID = -1177773673509373296L; /** * @param source */ public DBGetResponseEvent(Object source) { super(source); } /** * Returns the family of the database entry that was queried. * * @return the family of the database entry that was queried. */ public String getFamily() { return family; } /** * Sets the family of the database entry that was queried. * * @param family the family of the database entry that was queried. */ public void setFamily(String family) { this.family = family; } /** * Returns the key of the database entry that was queried. * * @return the key of the database entry that was queried. */ public String getKey() { return key; } /** * Sets the key of the database entry that was queried. * * @param key the key of the database entry that was queried. */ public void setKey(String key) { this.key = key; } /** * Returns the value of the database entry that was queried. * * @return the value of the database entry that was queried. */ public String getValue() { return value; } /** * Sets the value of the database entry that was queried. * * @param value the value of the database entry that was queried. */ public void setValue(String value) { this.value = value; } } |