net.sf.asterisk.manager
Class Extension

java.lang.Object
  extended by net.sf.asterisk.manager.Extension
All Implemented Interfaces:
java.io.Serializable

public class Extension
extends java.lang.Object
implements java.io.Serializable

Represents an Asterisk dialplan entry.

Version:
$Id: Extension.java,v 1.5 2005/08/08 06:10:18 srt Exp $
Author:
srt
See Also:
Serialized Form

Constructor Summary
Extension(java.util.Date date, java.lang.String context, java.lang.String extension, java.lang.Integer priority)
           
Extension(java.util.Date date, java.lang.String context, java.lang.String extension, java.lang.Integer priority, java.lang.String application, java.lang.String appData)
           
 
Method Summary
 java.lang.String getAppData()
           
 java.lang.String getApplication()
           
 java.lang.String getContext()
           
 java.util.Date getDate()
           
 java.lang.String getExtension()
           
 java.lang.Integer getPriority()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Extension

public Extension(java.util.Date date,
                 java.lang.String context,
                 java.lang.String extension,
                 java.lang.Integer priority)
Parameters:
date -
context -
extension -
priority -

Extension

public Extension(java.util.Date date,
                 java.lang.String context,
                 java.lang.String extension,
                 java.lang.Integer priority,
                 java.lang.String application,
                 java.lang.String appData)
Parameters:
date -
context -
extension -
priority -
application -
appData -
Method Detail

getDate

public java.util.Date getDate()

getContext

public java.lang.String getContext()

getExtension

public java.lang.String getExtension()

getPriority

public java.lang.Integer getPriority()

getApplication

public java.lang.String getApplication()

getAppData

public java.lang.String getAppData()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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