templates.diagram
Class EmptyConnector

java.lang.Object
  extended by templates.diagram.EmptyConnector

public class EmptyConnector
extends java.lang.Object

Empty connector (with no associated TemplateLinks). This class is used only to package empty connectors for IO purposes. The Connector class maintains the graphical representations of empty connectors, similar to non-empty connectors.

Author:
Lenko Grigorov

Field Summary
 long leftComponent
          The id of the "left" TemplateComponent linked by the connector.
 long rightComponent
          The id of the "right" TemplateComponent linked by the connector.
 
Constructor Summary
EmptyConnector(long leftComponent, long rightComponent)
          Construct an empty connector linking the given components.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

leftComponent

public long leftComponent
The id of the "left" TemplateComponent linked by the connector.

A connector is symmetric. "Left" and "right" are used only to enable addressing the two linked components separately.


rightComponent

public long rightComponent
The id of the "right" TemplateComponent linked by the connector.

A connector is symmetric. "Left" and "right" are used only to enable addressing the two linked components separately.

Constructor Detail

EmptyConnector

public EmptyConnector(long leftComponent,
                      long rightComponent)
Construct an empty connector linking the given components.

Parameters:
leftComponent - the id of the "left" TemplateComponent to be linked by the connector
rightComponent - the id of the "right" TemplateComponent to be linked by the connector

A connector is symmetric. "Left" and "right" are used only to enable addressing the two linked components separately.