All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.asteriskjava.manager.event.NewAccountCodeEvent Maven / Gradle / Ivy

The newest version!
/*
 *  Copyright 2004-2006 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 org.asteriskjava.manager.event;

/**
 * A NewAccountCodeEvent indicates that the account code used for CDR has
 * changed.

* Available since Asterisk 1.6.

* It is implemented in main/cdr.c * * @author srt * @version $Id$ * @since 1.0.0 */ public class NewAccountCodeEvent extends ManagerEvent { private static final long serialVersionUID = -1786512014173534223L; private String channel; private String uniqueId; private String accountCode; private String oldAccountCode; private String language; private String linkedId; /** * @param source */ public NewAccountCodeEvent(Object source) { super(source); } /** * Returns the name of the channel. * * @return the name of the channel. */ public String getChannel() { return channel; } public void setChannel(String channel) { this.channel = channel; } /** * Returns the unique id of the channel. * * @return the unique id of the channel. */ public String getUniqueId() { return uniqueId; } public void setUniqueId(String uniqueId) { this.uniqueId = uniqueId; } /** * Returns the new account code. * * @return the new account code. */ public String getAccountCode() { return accountCode; } public void setAccountCode(String accountCode) { this.accountCode = accountCode; } /** * Returns the old account code. * * @return the old account code. */ public String getOldAccountCode() { return oldAccountCode; } public void setOldAccountCode(String oldAccountCode) { this.oldAccountCode = oldAccountCode; } public String getLanguage() { return language; } public void setLanguage(String language) { this.language = language; } public String getLinkedId() { return linkedId; } public void setLinkedId(String linkedId) { this.linkedId = linkedId; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy