|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.adventnet.snmp.mibs.ACVariation
This class represents the VARIATIONS within the module of AGENT-CAPABILITIES which contains the informations like
The NotificationVariation is defined as follows
VARIATION <notificationName> [ACCESS <AccessV2>] DESCRIPTION <Text>where
The ObjectVariation is defined as follows,
VARIATION <ObjectName>
[SYNTAX <SyntaxV2>]
[WRITE SYNTAX <SyntaxV2]
[ACCESS <AccessV2]
[CREATION-REQUIRES { <Objects> }]
[DEFVAL { <Defval> }]
DESCRIPTION <Text>
where
The ACVariation instance can be obtained as follows after loading the MIB. The MIB should contain the AGENT-CAPABILITIES macro with the variations.
MibModule mod = mibops.getMibModule("moduleName");
AgentCapabilities ac = mod.getAgentCapabilities("AgentCapabilitiesName");
Vector acVect = ac.getACModules();
AgentCapabilitiesModule acm = (AgentCapabilitiesModule)acVect.elementAt(0);
Vector varVect = acm.getACVariations();
ACVariation acv = (ACVariation)varVect.elementAt(0);
| Method Summary | |
int |
getAccess()
Gets the implemented ACCESS value for this Variation. |
java.util.Vector |
getCreationObjects()
Returns the value of CREATION-REQUIRES field for this Variation. |
java.lang.String |
getDefVal()
Returns the default value for this Variation. |
java.lang.String |
getDescription()
Gets the DESCRIPTION string for this Variation. |
java.lang.String |
getName()
Gets the name of the variation. |
LeafSyntax |
getSyntax()
Returns the SYNTAX value of this Variation. |
LeafSyntax |
getWriteSyntax()
Returns the WRITE-SYNTAX value of this Variation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getName()
public LeafSyntax getSyntax()
public LeafSyntax getWriteSyntax()
public int getAccess()
public java.util.Vector getCreationObjects()
public java.lang.String getDefVal()
public java.lang.String getDescription()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||