| Business Objects and Data Sources > Network Elements > Representation of Network Elements in a Network > Shortcut Network Elements |
Shortcut Network Elements |
INDEX
PREVIOUS
NEXT
|
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:
IltShortcutAttributeType.STANDARD: The network element is a regular shortcut.
IltShortcutAttributeType.DANGLING: The network element is a shortcut to an object that is no longer available.
null: The network element is not a shortcut
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:
<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.
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |