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

org.asteriskjava.pbx.asterisk.wrap.actions.DbGetAction Maven / Gradle / Ivy

The newest version!
package org.asteriskjava.pbx.asterisk.wrap.actions;

import org.asteriskjava.manager.action.ManagerAction;

public class DbGetAction extends AbstractManagerAction {

    private final String _key;
    private final String _family;

    public DbGetAction(final String family, final String key) {
        this._family = family;
        this._key = key;
    }

    @Override
    public ManagerAction getAJAction() {
        final org.asteriskjava.manager.action.DbGetAction action = new org.asteriskjava.manager.action.DbGetAction();
        action.setActionId(this.getActionId());
        action.setKey(this._key);
        action.setFamily(this._family);

        return action;
    }

    public String toString() {
        return "DbGetAction: key=" + this._key + " family=" + this._family; //$NON-NLS-1$ //$NON-NLS-2$
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy