AdventNet WiFi Mediation API, v1.0

com.adventnet.wifi.mediation.beans
Class VLANBean

java.lang.Object
  extended bycom.adventnet.wifi.mediation.beans.AbstractBean
      extended bycom.adventnet.wifi.mediation.beans.VLANBean
All Implemented Interfaces:
VLANBeanConstants

public class VLANBean
extends AbstractBean
implements VLANBeanConstants

Class to hold the VLAN details. This class is primarily used to fetch the VLAN details from the Accesss point or to configure the same.


Field Summary
 
Fields inherited from interface com.adventnet.wifi.mediation.VLANBeanConstants
VLAN_ID
 
Constructor Summary
VLANBean(int id)
          Constructs a VLAN Bean with the given ID.
VLANBean(int id, java.lang.String name)
          Constructs a VLAN Bean with the given identifier and name.
 
Method Summary
 int getVLANID()
          Fetches the ID of the VLAN
 java.lang.String getVLANName()
          Fetches the name of the VLAN
 void setVLANID(int id)
          Sets the ID for the VLAN
 void setVLANName(java.lang.String name)
          Sets the name of the VLAN
 java.lang.String toString()
          Gives us the String representation of this Object.
 
Methods inherited from class com.adventnet.wifi.mediation.beans.AbstractBean
getData, getOperationType, getRadioIndex, getRadioMac, getRadioMode, getTemplateConstants, setOperationType, setRadioIndex, setRadioMac, setRadioMode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VLANBean

public VLANBean(int id)
Constructs a VLAN Bean with the given ID.

Parameters:
id - the identifier of the VLAN.

VLANBean

public VLANBean(int id,
                java.lang.String name)
Constructs a VLAN Bean with the given identifier and name.

Parameters:
id - the identifier of the VLAN.
name - the name of the VLAN.
Method Detail

setVLANID

public void setVLANID(int id)
Sets the ID for the VLAN

Parameters:
id - the VLAN id.

getVLANID

public int getVLANID()
Fetches the ID of the VLAN

Returns:
the VLAN id.

setVLANName

public void setVLANName(java.lang.String name)
Sets the name of the VLAN

Parameters:
name - the name for the VLAN.

getVLANName

public java.lang.String getVLANName()
Fetches the name of the VLAN

Returns:
the name of the VLAN.

toString

public java.lang.String toString()
Gives us the String representation of this Object.


AdventNet WiFi Mediation API, v1.0

Copyright © 2005 AdventNet Inc. All Rights Reserved.