public static class IltSNMP.SystemInfo extends Object implements Cloneable, AttributeValueListener
The System Group allows the definition of attributes, which are graphically represented as textual information inside a System Window. The attributes are listed with their description and value.
The pre-defined attributes present in the group are: Description, Contact and Location.
New attributes can be registered and inserted in the group. In order
to be correctly represented, the attribute value must define the method
toString
.
Modifier and Type | Field and Description |
---|---|
protected Map |
_attributes
Local attributes
|
Constructor and Description |
---|
SystemInfo()
Default constructor
|
SystemInfo(String description,
String contact,
String location)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
attach(IltObject obj)
Attaches the values present in the local legend to the
telecom object's object system.
|
void |
attributeValueChange(AttributeValueEvent ev)
This implementation is used when the user modifies
the SNMP System attributes directly in the IltObject.
|
Object |
clone() |
void |
copy(IltSNMP.SystemInfo info) |
void |
debug() |
void |
detach(IltObject obj)
Detaches the values present in the local legend from the
telecom object's object system.
|
boolean |
equals(Object obj)
Compares this object with another object.
|
Object |
getAttribute(IlpAttribute attribute)
Returns the value of an attribute defined in the System Group.
|
Object |
getAttribute(IltKey k)
Deprecated.
Please use
IlpAttribute instead of IltKey . |
String |
getContact()
Returns the contact attribute of the object.
|
String |
getDescription()
Returns the description attribute of the object.
|
String |
getLocation()
Returns the location attribute of the object.
|
void |
reset()
Resets the values defined for the System group.
|
void |
setAttribute(IlpAttribute attribute,
Object value)
Sets the value of an attribute defined in the System Group.
|
void |
setAttribute(IltKey k,
Object value)
Deprecated.
Please use
IlpAttribute instead of IltKey . |
void |
setContact(String contact)
Sets the contact attribute of the object.
|
void |
setDescription(String description)
Sets the description attribute of the object.
|
void |
setLocation(String location)
Sets the location attribute of the object.
|
protected Map _attributes
public void setDescription(String description)
public String getDescription()
public void setContact(String contact)
public String getContact()
public void setLocation(String location)
public String getLocation()
public void setAttribute(IlpAttribute attribute, Object value)
public Object getAttribute(IlpAttribute attribute)
public void reset()
@Deprecated public void setAttribute(IltKey k, Object value)
IlpAttribute
instead of IltKey
.@Deprecated public Object getAttribute(IltKey k)
IlpAttribute
instead of IltKey
.public void copy(IltSNMP.SystemInfo info)
public boolean equals(Object obj)
public void attach(IltObject obj)
public void detach(IltObject obj)
public void attributeValueChange(AttributeValueEvent ev)
attributeValueChange
in interface AttributeValueListener
public void debug()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.