com.adventnet.snmp.mibs.mibparser
Class SyntaxObjectType

java.lang.Object
  extended by com.adventnet.snmp.mibs.mibparser.SyntaxOID
      extended by com.adventnet.snmp.mibs.mibparser.SyntaxObjectType
All Implemented Interfaces:
BaseSyntax, MIBConstants

public class SyntaxObjectType
extends SyntaxOID
implements MIBConstants


Field Summary
(package private)  int access
           
(package private)  java.lang.String accessName
           
 SyntaxOID augments
          contains the augment syntax element
(package private)  java.lang.String defVal
           
(package private)  java.lang.String description
           
(package private)  java.lang.String impliedNode
           
(package private)  java.util.Vector indices
          contains the index syntax elements
(package private)  boolean isimplied
           
(package private)  java.lang.String reference
           
(package private)  java.lang.String sequenceOf
           
(package private)  int status
           
(package private)  java.lang.String syntaxname
           
(package private)  java.lang.String units
           
 
Fields inherited from class com.adventnet.snmp.mibs.mibparser.SyntaxOID
childOIDList, childoids, commentObj, identity, oid_tree, parentOIDSyntax, syntax, value
 
Fields inherited from interface com.adventnet.snmp.mibs.mibparser.MIBConstants
ACCESS_ACCESSIBLE_FOR_NOTIFY, ACCESS_NOT_ACCESSIBLE, ACCESS_NOT_IMPLEMENTED, ACCESS_READ_CREATE, ACCESS_READ_ONLY, ACCESS_READ_WRITE, ACCESS_WRITE_ONLY, accessStr, AGENT_CAPABILITIES, alphaStr, BITSTRING, COUNTER, COUNTER32, COUNTER64, GAUGE, GAUGE32, INTEGER, INTEGER32, IPADDRESS, macroStr, MODULE_COMPLIANCE, MODULE_IDENTITY, NETWORKADDRESS, NOTIFICATION_GROUP, NOTIFICATION_TYPE, NULL, numericStr, OBJECT_GROUP, OBJECT_IDENTIFIER, OBJECT_IDENTITY, OBJECT_TYPE, OCTETSTRING, OPAQUE, SEQUENCE, STATUS_CURRENT, STATUS_DEPRECATED, STATUS_MANDATORY, STATUS_OBSOLETE, STATUS_OPTIONAL, statusStr, TEXTUAL_CONVENTION, TIMETICKS, TRAP_TYPE, UNSIGNED32
 
Fields inherited from interface com.adventnet.snmp.mibs.mibparser.BaseSyntax
NullString
 
Constructor Summary
SyntaxObjectType()
           
 
Method Summary
 void addIndex(BaseSyntax syn)
          Adds the syntax item to the index list
 void addIndex(java.lang.Object indi)
           
 int getAccess()
          Return the int value corresponding to this object-type's access level
 java.lang.String getAccessName()
          Return the String access name
 java.lang.String getDefVal()
           
 java.lang.String getDescription()
          this object-type's decription
 java.lang.String getImpliedNode()
           
 java.util.Vector getIndices()
           
 java.lang.String getName()
          Returns this OT's name
 java.util.Properties getProperties()
           
 RangeList getRange()
           
 java.lang.String getReference()
          the reference clause for this object-type
 java.lang.String getSequence()
           
 int getStatus()
          Return the int value corresponding to this object-type's status
 BaseSyntax getSyntax()
          Returns this object-type's syntax
 java.lang.String getSyntaxName()
          Returns this object-type's syntax
 int getType()
           
 java.lang.String getUnits()
          the UNITS clause string
 boolean isImplied()
           
 void setAccess(int accs)
          Sets the access for this object-type.
 void setAccessName(java.lang.String access)
          Sets the access name for this object-type.
 void setAugments(SyntaxOID oid)
           
 void setDefVal(java.lang.String sybase)
           
 void setDescription(java.lang.String descr)
          the description for this object-type
 void setImpliedNode(java.lang.String node)
           
 void setName(java.lang.String name)
          Sets this OT's name identifier
 void setRange(RangeList list)
           
 void setReference(java.lang.String refr)
          the reference clause for this object type
 void setSequence(java.lang.String seqName)
           
 void setStatus(int tcStatus)
          Sets the status for this object-type.
 void setSyntax(BaseSyntax syn)
          Sets this object-type's syntax
 void setSyntaxName(java.lang.String syntaxName)
          Sets this object-type's syntax
 void setUnits(java.lang.String ot_units)
          the UNITS clause string
(package private)  void writeSyntaxRelated(java.io.DataOutputStream outp, java.io.DataOutputStream descOutp)
           
 
Methods inherited from class com.adventnet.snmp.mibs.mibparser.SyntaxOID
addChild, assign, detectRoot, getInstance, getOIDValue, getValue, isChild, merge, removeInstance, setValue, size, toBigString, toString, writeElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

status

int status

access

int access

accessName

java.lang.String accessName

syntaxname

java.lang.String syntaxname

description

java.lang.String description

reference

java.lang.String reference

defVal

java.lang.String defVal

sequenceOf

java.lang.String sequenceOf

impliedNode

java.lang.String impliedNode

isimplied

boolean isimplied

units

java.lang.String units

indices

java.util.Vector indices
contains the index syntax elements


augments

public SyntaxOID augments
contains the augment syntax element

Constructor Detail

SyntaxObjectType

public SyntaxObjectType()
Method Detail

setDescription

public void setDescription(java.lang.String descr)
the description for this object-type


getDescription

public java.lang.String getDescription()
this object-type's decription


setAugments

public void setAugments(SyntaxOID oid)

setStatus

public void setStatus(int tcStatus)
Sets the status for this object-type. The constants are defined in BaseSyntax


getStatus

public int getStatus()
Return the int value corresponding to this object-type's status

See Also:
setStatus(int)

setAccess

public void setAccess(int accs)
Sets the access for this object-type. The constants are defined in BaseSyntax


getAccess

public int getAccess()
Return the int value corresponding to this object-type's access level

See Also:
setAccess(int)

setAccessName

public void setAccessName(java.lang.String access)
Sets the access name for this object-type.


getAccessName

public java.lang.String getAccessName()
Return the String access name


getRange

public RangeList getRange()
Specified by:
getRange in interface BaseSyntax
Overrides:
getRange in class SyntaxOID

getType

public int getType()
Specified by:
getType in interface BaseSyntax
Overrides:
getType in class SyntaxOID

setReference

public void setReference(java.lang.String refr)
                  throws ParseException
the reference clause for this object type

Throws:
ParseException

getReference

public java.lang.String getReference()
the reference clause for this object-type


setName

public void setName(java.lang.String name)
Sets this OT's name identifier

Overrides:
setName in class SyntaxOID

getName

public java.lang.String getName()
Returns this OT's name

Specified by:
getName in interface BaseSyntax
Overrides:
getName in class SyntaxOID

addIndex

public void addIndex(BaseSyntax syn)
Adds the syntax item to the index list


setSyntax

public void setSyntax(BaseSyntax syn)
Sets this object-type's syntax

Overrides:
setSyntax in class SyntaxOID

getSyntax

public BaseSyntax getSyntax()
Returns this object-type's syntax

Specified by:
getSyntax in interface BaseSyntax
Overrides:
getSyntax in class SyntaxOID

setSyntaxName

public void setSyntaxName(java.lang.String syntaxName)
Sets this object-type's syntax


getSyntaxName

public java.lang.String getSyntaxName()
Returns this object-type's syntax


setDefVal

public void setDefVal(java.lang.String sybase)

getDefVal

public java.lang.String getDefVal()

addIndex

public void addIndex(java.lang.Object indi)

setUnits

public void setUnits(java.lang.String ot_units)
the UNITS clause string


getUnits

public java.lang.String getUnits()
the UNITS clause string


setRange

public void setRange(RangeList list)
Specified by:
setRange in interface BaseSyntax
Overrides:
setRange in class SyntaxOID

getProperties

public java.util.Properties getProperties()

isImplied

public boolean isImplied()

setImpliedNode

public void setImpliedNode(java.lang.String node)

getImpliedNode

public java.lang.String getImpliedNode()

getIndices

public java.util.Vector getIndices()

setSequence

public void setSequence(java.lang.String seqName)

getSequence

public java.lang.String getSequence()

writeSyntaxRelated

void writeSyntaxRelated(java.io.DataOutputStream outp,
                        java.io.DataOutputStream descOutp)
                  throws java.io.IOException
Overrides:
writeSyntaxRelated in class SyntaxOID
Throws:
java.io.IOException