com.adventnet.snmp.snmp2.vacm
Class  VacmViewTreeEntry
java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.vacm.VacmViewTreeEntry
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class VacmViewTreeEntry
- extends java.lang.Object
- implements java.io.Serializable
   
This class is used to keep track of the VacmAccessEntry objects for
 each unique familyViewName. It maintains a list of VacmFamilyEntry 
 objects for a each family viewName. The API user need not instantiate
 this class as the VacmViewTreeTable instantiates it. Once the 
 VacmFamilyEntry object is created, it has to be added to the 
 VacmViewTreeTable.
- See Also: 
 VacmViewTreeTable, Serialized Form
| 
Method Summary | 
 java.util.Vector | 
getFamilyEntries()
 
          Returns an Vector of VacmFamilyEntry maintained by this class. | 
 byte[] | 
getFamilyViewName()
 
          Get the FamilyViewName associated with this object. | 
 java.lang.Object | 
getKey()
 
          Retrive the Key for this VacmViewTreeEntry. | 
static java.lang.Object | 
getKey(byte[] viewName)
 
          Retrive the Key for this VacmViewTreeEntry. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
getFamilyViewName
public byte[] getFamilyViewName()
- Get the FamilyViewName associated with this object.
 
- Returns:
 - familyViewName associated with this object.
 
 
 
getFamilyEntries
public java.util.Vector getFamilyEntries()
- Returns an Vector of VacmFamilyEntry maintained by this class.
 
- Returns:
 - A vector of VacmFamilyEntry objects mainted by this class.
 
 
 
getKey
public java.lang.Object getKey()
- Retrive the Key for this VacmViewTreeEntry.
 
- Returns:
 - The Key as an Object
 
 
 
getKey
public static java.lang.Object getKey(byte[] viewName)
- Retrive the Key for this VacmViewTreeEntry. Takes the familyName as 
  parameter.
 
- Parameters:
 viewName - The familyViewName- Returns:
 - the key as a String object.
 - Throws:
 java.lang.NullPointerException - if the viewName is null.
 
 
Copyright (c)AdventNet Inc., 1996-2004