Business Objects and Data Sources > Network Elements > Representation of Network Elements in a Network > Shortcut Network Elements

A shortcut network element is an abstraction denoting an object that is only a reference to an existing network element. IltNetworkElement provides a new attribute, ShortcutAttribute, whose value can be:

A network element can be defined as shortcut by setting the value of attribute shortcut in the business object. This attribute can be set programmatically using IltNetworkElement.ShortcutAttribute. The following example illustrates how a network element is created using this attribute via XML:

How to Create a Shortcut
<addObject id="NE1">
  <class>ilog.tgo.model.IltNetworkElement</class>
  <attribute name="name">NE1</attribute>
  <attribute name="shortcut">STANDARD</attribute>
  <attribute name="type">NE</attribute>
</addObject>

Shortcut network elements are graphically represented by an icon located at the bottom left of the network element base.

images/networkelements227.gif

Figure 4.5 Standard Shortcuts

images/networkelements228.gif

Figure 4.6 Dangling Shortcuts