ilog.tgo.model
Class IltSNMP.SystemInfo

java.lang.Object
  extended by ilog.tgo.model.IltSNMP.SystemInfo
All Implemented Interfaces:
AttributeValueListener, Cloneable, EventListener
Enclosing class:
IltSNMP

public static class IltSNMP.SystemInfo
extends Object
implements Cloneable, AttributeValueListener

This class models how the System Group, defined in MIB-II, is represented for a telecom object.

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.

See Also:
IlpAttribute, IltAttribute, IltSNMP.SetAttributeMapping(ilog.cpl.model.IlpAttribute, java.lang.Object, java.lang.String)

Field Summary
protected  Map _attributes
          Local attributes
 
Constructor Summary
IltSNMP.SystemInfo()
          Default constructor
IltSNMP.SystemInfo(String description, String contact, String location)
          Constructor
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_attributes

protected Map _attributes
Local attributes

Internal method or field: do not use!
Constructor Detail

IltSNMP.SystemInfo

public IltSNMP.SystemInfo()
Default constructor


IltSNMP.SystemInfo

public IltSNMP.SystemInfo(String description,
                          String contact,
                          String location)
Constructor

Method Detail

setDescription

public void setDescription(String description)
Sets the description attribute of the object.


getDescription

public String getDescription()
Returns the description attribute of the object.


setContact

public void setContact(String contact)
Sets the contact attribute of the object.


getContact

public String getContact()
Returns the contact attribute of the object.


setLocation

public void setLocation(String location)
Sets the location attribute of the object.


getLocation

public String getLocation()
Returns the location attribute of the object.


setAttribute

public void setAttribute(IlpAttribute attribute,
                         Object value)
Sets the value of an attribute defined in the System Group.


getAttribute

public Object getAttribute(IlpAttribute attribute)
Returns the value of an attribute defined in the System Group.


reset

public void reset()
Resets the values defined for the System group.


setAttribute

public void setAttribute(IltKey k,
                         Object value)
Deprecated. Please use IlpAttribute instead of IltKey.

Sets the value of an attribute defined in the System Group.

Deprecated Since:
JTGO 3.0

getAttribute

public Object getAttribute(IltKey k)
Deprecated. Please use IlpAttribute instead of IltKey.

Returns the value of an attribute defined in the System Group.

Deprecated Since:
JTGO 3.0

copy

public void copy(IltSNMP.SystemInfo info)
Internal method or field: do not use!

equals

public boolean equals(Object obj)
Compares this object with another object.

Overrides:
equals in class Object
Internal method or field: do not use!

attach

public void attach(IltObject obj)
Attaches the values present in the local legend to the telecom object's object system.

Internal method or field: do not use!

detach

public void detach(IltObject obj)
Detaches the values present in the local legend from the telecom object's object system.

Internal method or field: do not use!

attributeValueChange

public void attributeValueChange(AttributeValueEvent ev)
This implementation is used when the user modifies the SNMP System attributes directly in the IltObject.

Specified by:
attributeValueChange in interface AttributeValueListener
Internal method or field: do not use!

debug

public void debug()
Internal method or field: do not use!

clone

public Object clone()
Overrides:
clone in class Object
Internal method or field: do not use!


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.