public class Attr extends Object
Attr class.
Constructor and Description |
---|
Attr()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
This method is responsible for comparing this MibObject with the passed
Object to determine if they are equivalent.
|
String |
getAlias()
Returns the object's alias.
|
String |
getMaxval()
Returns the object's maximum value.
|
String |
getMinval()
Returns the object's minimum value.
|
String |
getName()
Returns the object's identifier.
|
String |
getType()
Returns the object's data type.
|
int |
hashCode() |
void |
setAlias(String alias)
This method is used to assign the object's alias.
|
void |
setMaxval(String maxval)
This method is used to assign the object's maximum value.
|
void |
setMinval(String minval)
This method is used to assign the object's minimum value.
|
void |
setName(String oid)
This method is used to assign the object's identifier.
|
void |
setType(String type)
This method is used to assign the object's expected data type.
|
String |
toString()
This method is responsible for returning a String object which represents
the content of this MibObject.
|
public void setName(String oid)
oid
- -
object identifier in dotted decimal notation (e.g.,
".1.3.6.1.2.1.1.1")public void setAlias(String alias)
alias
- -
object alias (e.g., "sysDescription")public void setType(String type)
type
- -
object's data typepublic void setMaxval(String maxval)
maxval
- object's maximum valuepublic void setMinval(String minval)
minval
- object's minimum valuepublic String getName()
public String getMaxval()
public String getMinval()
public String getAlias()
public String getType()
public boolean equals(Object object)
Copyright © 2015. All rights reserved.