|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.vacm.VacmFamilyEntry
This class represents the VacmViewTreeFamilyEntry. It represents the vacmViewTreeFamilyEntry OBJECT-TYPE (OID - .1.3.6.1.6.3.16.1.5.2.1) from the ViewBasedAccessControl. This class has attributes like the familyName, familySubtree, familyMask, familyType. These attributes represent Information on a particular family of view subtrees included in or excluded from a particular SNMP context's MIB view. The VacmViewTreeEntry maintains a list of VacmFamilyEntry objects for each viewName.
VacmViewTreeEntry
, Serialized FormField Summary | |
static int |
EXCLUDED
Constant value for VacmFamilyType EXCLUDED |
static int |
INCLUDED
Constant value for VacmFamilyType INCLUDED |
Constructor Summary | |
VacmFamilyEntry(byte[] name,
int[] subTree)
Create a VacmFamilyEntry with the specified familyName and familySubTree. |
Method Summary | |
boolean |
equals(VacmFamilyEntry entry)
Compare two Objects for equality. |
byte[] |
getFamilyMask()
Get the vacmViewTreeFamilyMask value. |
int |
getFamilyStatus()
Get the vacmViewTreeFamilyStatus value. |
int |
getFamilyStorageType()
Get the StorageType associated with this VacmFamilyEntry |
int[] |
getFamilySubTree()
Get the vacmViewTreeFamilySubtree value. |
int |
getFamilyType()
Get the vacmViewTreeFamilyType value. |
byte[] |
getFamilyViewName()
Get the vacmViewTreeFamilyViewName value. |
void |
setFamilyMask(byte[] mask)
Set the vacmViewTreeFamilyMask value. |
void |
setFamilyStatus(int status)
Set the vacmViewTreeFamilyStatus value. |
void |
setFamilyStorageType(int storageType)
Set the StorageType associated with this VacmFamilyEntry |
void |
setFamilyType(int type)
Set the vacmViewTreeFamilyType value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int INCLUDED
public static final int EXCLUDED
Constructor Detail |
public VacmFamilyEntry(byte[] name, int[] subTree)
name
- The familyViewName for this objectsubTree
- The familySubTree for this object.java.lang.NullPointerException
- if the name or subTree is null.Method Detail |
public byte[] getFamilyViewName()
public int[] getFamilySubTree()
public byte[] getFamilyMask()
public void setFamilyMask(byte[] mask)
mask
- The vacmViewTreeFamilyMask for this object. The size of
this can be from zero to 16. If the input parameter is null then
byte array of length zero is taken. If the length of the byte
array is given greater than 16, then the value is not set and the
previous value will be retained.public int getFamilyType()
public void setFamilyType(int type)
type
- The vacmViewTreeFamilyType for this object.public int getFamilyStorageType()
public void setFamilyStorageType(int storageType)
public int getFamilyStatus()
public void setFamilyStatus(int status)
status
- The vacmViewTreeFamilyStatus for this family entry.public boolean equals(VacmFamilyEntry entry)
entry
- The object to compare this VacmFamilyEntry against.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |