AdventNet WiFi Mediation API, v1.0

com.adventnet.wifi.mediation.beans
Class AbstractBean

java.lang.Object
  extended bycom.adventnet.wifi.mediation.beans.AbstractBean
Direct Known Subclasses:
ACLBean, DataBean, FirmwareBean, MobileClientBean, RadioBean, RadiusBean, RadiusBeanList, SSIDBean, VLANBean

public abstract class AbstractBean
extends java.lang.Object

This Class is the superclass for all the bean classes.


Field Summary
protected static java.lang.String[] templateConstants
           
 
Constructor Summary
AbstractBean()
           
 
Method Summary
 java.lang.Object getData()
          Returns the data for configuration.
 int getOperationType()
          Fetches the operation type of the bean that is whether this bean is used for a add operation or a delete operation etc.,
 int getRadioIndex()
          Returns the index of the Radio.
 java.lang.String getRadioMac()
          Fetches the MAC address of the radio represented by this bean.
 int getRadioMode()
          Fetches the mode (802.11a/b/g) of the radio represented by this bean.
static java.lang.String[] getTemplateConstants()
          Used for internal purposes.
 void setOperationType(int operationType)
          Sets the operation type of the bean that is whether this bean is used for a add operation or a delete operation etc.,
 void setRadioIndex(int radioIndex)
          Sets the Index of the Radio.
 void setRadioMac(java.lang.String radioMac)
          Sets the MAC address of the radio represented by this bean.Not used by the WiFi Mediation as of now.
 void setRadioMode(int radioMode)
          Sets the mode (802.11a/b/g) of the radio represented by this bean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

templateConstants

protected static java.lang.String[] templateConstants
Constructor Detail

AbstractBean

public AbstractBean()
Method Detail

setOperationType

public void setOperationType(int operationType)
Sets the operation type of the bean that is whether this bean is used for a add operation or a delete operation etc.,

Parameters:
operationType - the operation type
See Also:
MediationConstants.ADD, MediationConstants.DELETE, MediationConstants.UPDATE, MediationConstants.DELETE_ALL

getOperationType

public int getOperationType()
Fetches the operation type of the bean that is whether this bean is used for a add operation or a delete operation etc.,

Returns:
the operation type
See Also:
MediationConstants.ADD, MediationConstants.DELETE, MediationConstants.UPDATE, MediationConstants.DELETE_ALL

getRadioMode

public int getRadioMode()
Fetches the mode (802.11a/b/g) of the radio represented by this bean.

Returns:
mode (802.11 a/b/g) of the radio
See Also:
MediationConstants.RADIO_A, MediationConstants.RADIO_BG

setRadioMode

public void setRadioMode(int radioMode)
Sets the mode (802.11a/b/g) of the radio represented by this bean.

Parameters:
radioMode - the mode (802.11 a/b/g) of the radio.
See Also:
MediationConstants.RADIO_A, MediationConstants.RADIO_BG

getData

public java.lang.Object getData()
Returns the data for configuration. Used for internal purposes.


getTemplateConstants

public static java.lang.String[] getTemplateConstants()
Used for internal purposes.


getRadioMac

public java.lang.String getRadioMac()
Fetches the MAC address of the radio represented by this bean. Not Implemented as of now.

Returns:
MAC address of the radio represented by this bean

setRadioMac

public void setRadioMac(java.lang.String radioMac)
Sets the MAC address of the radio represented by this bean.Not used by the WiFi Mediation as of now.

Parameters:
radioMac - MAC address of the radio represented by this bean

getRadioIndex

public int getRadioIndex()
Returns the index of the Radio.


setRadioIndex

public void setRadioIndex(int radioIndex)
Sets the Index of the Radio.


AdventNet WiFi Mediation API, v1.0

Copyright © 2005 AdventNet Inc. All Rights Reserved.