ilog.tgo.model
Class IltSNMP

java.lang.Object
  extended by ilog.tgo.model.IltSNMP

public class IltSNMP
extends Object

This class provides the state system commonly used to model the states and statuses of the SNMP MIB-II standard, based in RFC 1213, 2011, 2012 and 2013. The state class is called IltSNMP.State. The information regarding each MIB-II group is defined in the classes IltSNMP.Interface, IltSNMP.IP, IltSNMP.ICMP, IltSNMP.TCP, IltSNMP.UDP, IltSNMP.EGP, IltSNMP.SNMP.


Nested Class Summary
static class IltSNMP.EGP
           
static class IltSNMP.ICMP
           
static class IltSNMP.Interface
           
static class IltSNMP.IP
           
static class IltSNMP.SNMP
           
static class IltSNMP.State
           
static class IltSNMP.System
           
static class IltSNMP.SystemInfo
          This class models how the System Group, defined in MIB-II, is represented for a telecom object.
static class IltSNMP.TCP
           
static class IltSNMP.UDP
           
 
Field Summary
static IltObjectInfo metainfo
          Singleton instance of IltSNMP.System object system.
 
Constructor Summary
protected IltSNMP()
           
 
Method Summary
static IltObjectInfo GetIlpClass()
           
static ilog.tgo.model.internal.IltStatePath GetPrimaryStatePath()
          Returns the primary state path for SNMP.
static IlpMutableAttributeGroup GetSystemAttributeGroup()
          Returns the SNMP.System attribute group.
static IltSNMP.State NewState(String name, String description)
          Creates a new state.
static void SetAttributeMapping(IlpAttribute attribute, Object defaultValue, IlpStringKey description)
          Deprecated. Please use SetAttributeMapping(IlpAttribute,Object,String) method to add the attribute. Configuration is done through cascading style sheets using the following properties:
  • visibleInSystemWindow: indicates if the mapper will be applied or not the given attribute.
  • label: string which represents the attribute value
  • .
  • captionLabel: string used as a description of the attribute.
  • captionLabelVisible: indicates if the description string should be displayed or not.
static void SetAttributeMapping(IlpAttribute attribute, Object defaultValue, String description)
          Adds a new attribute to the System group and creates the proper mapper information to display the new attribute in the system window.
static void SetAttributeMapping(IltKey k, Object defaultValue, IltKey.String description)
          Deprecated. Please use the IlpAttribute version instead.
static void SetAttributeMapping(IltKey k, Object defaultValue, String description)
          Deprecated. Please use the IlpAttribute version instead.
static IltStateSystem StateSystem()
          Returns the only instance of SNMP state system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metainfo

public static final IltObjectInfo metainfo
Singleton instance of IltSNMP.System object system. It is not really an IltObjectInfo, but we use it just to reuse the object info code which is a default business class with an object system mapper

See Also:
IltDefaultMapStateStrategy
Internal method or field: do not use!
Constructor Detail

IltSNMP

protected IltSNMP()
Internal method or field: do not use!
Method Detail

StateSystem

public static IltStateSystem StateSystem()
Returns the only instance of SNMP state system.

Internal method or field: do not use!

GetIlpClass

public static IltObjectInfo GetIlpClass()
Internal method or field: do not use!

GetSystemAttributeGroup

public static IlpMutableAttributeGroup GetSystemAttributeGroup()
Returns the SNMP.System attribute group.

Since:
JTGO 3.0

NewState

public static IltSNMP.State NewState(String name,
                                     String description)
Creates a new state. The associated IltBaseStyle and IltBaseStyleMapping instances will be created automatically. You can then modify them at your convenience by using the IltObject.GetBaseStyleMapping method.

Parameters:
name - a unique name
description - the state's description, according to the current locale
See Also:
IltObject.GetBaseStyleMapping(ilog.tgo.graphic.IltBaseStyle), IltBaseStyle, IltBaseStyleMapping

SetAttributeMapping

public static void SetAttributeMapping(IlpAttribute attribute,
                                       Object defaultValue,
                                       String description)
Adds a new attribute to the System group and creates the proper mapper information to display the new attribute in the system window.

This method can also be used to modify the configuration of a previously created attribute.

The user must create the IlpAttribute instance.

Parameters:
attribute - attribute being added
defaultValue - default value for the attribute
description - textual description of the attribute which will be used to represent it in the system window.
See Also:
IlpAttribute, Note: Configuration is done through cascading style sheets using the following properties:
  • visibleInSystemWindow: indicates if the mapper will be applied or not the given attribute.
  • label: string which represents the attribute value
  • .
  • captionLabel: string used as a description of the attribute.
  • captionLabelVisible: indicates if the description string should be displayed or not.

SetAttributeMapping

public static void SetAttributeMapping(IlpAttribute attribute,
                                       Object defaultValue,
                                       IlpStringKey description)
Deprecated. Please use SetAttributeMapping(IlpAttribute,Object,String) method to add the attribute. Configuration is done through cascading style sheets using the following properties:
  • visibleInSystemWindow: indicates if the mapper will be applied or not the given attribute.
  • label: string which represents the attribute value
  • .
  • captionLabel: string used as a description of the attribute.
  • captionLabelVisible: indicates if the description string should be displayed or not.

Adds a new attribute to the System group and creates the proper mapper information to display the new attribute in the system window.

This method can also be used to modify the configuration of a previously created attribute.

The user must create the IlpAttribute instance which will be represented.

Parameters:
attribute - attribute being added
defaultValue - default value for the attribute
description - textual description of the attribute which will be used to represent it in the system window.
See Also:
IlpAttribute, IltAttribute
Deprecated Since:
JTGO 3.0

SetAttributeMapping

public static void SetAttributeMapping(IltKey k,
                                       Object defaultValue,
                                       String description)
Deprecated. Please use the IlpAttribute version instead.

Adds a new attribute to the System group and creates the proper mapper information to display the new attribute in the system window.

Deprecated Since:
JTGO 3.0

SetAttributeMapping

public static void SetAttributeMapping(IltKey k,
                                       Object defaultValue,
                                       IltKey.String description)
Deprecated. Please use the IlpAttribute version instead.

Adds a new attribute to the System group and creates the proper mapper information to display the new attribute in the system window.

Deprecated Since:
JTGO 3.0

GetPrimaryStatePath

public static ilog.tgo.model.internal.IltStatePath GetPrimaryStatePath()
Returns the primary state path for SNMP.

Internal method or field: do not use!


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