uk.co.agena.minerva.util.model
Class Connection

java.lang.Object
  extended by uk.co.agena.minerva.util.model.Connection

public class Connection
extends java.lang.Object

Author:
Agena UK Ltd TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static int CONNECTION_TYPE_CHILD
           
static int CONNECTION_TYPE_GRAPH
           
 
Constructor Summary
Connection()
          Basic constructor
Connection(int ConnectionType)
          Constructor sets up some basic attributes, calls the basic constructor
 
Method Summary
 int getConnectionType()
          Defines the nature of the connection, which must take one of the constant values defined on this class
 Range getSourceCardinality()
          The cardibality attactched to the source of the connection
 Range getTargetCardinality()
          The cardibality attactched to the target of the connection
 void setConnectionType(int connectionType)
          Defines the nature of the connection, which must take one of the constant values defined on this class
 void setSourceCardinality(Range sourceCardinality)
          The cardibality attactched to the source of the connection
 void setTargetCardinality(Range targetCardinality)
          The cardibality attactched to the target of the connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONNECTION_TYPE_GRAPH

public static final int CONNECTION_TYPE_GRAPH
See Also:
Constant Field Values

CONNECTION_TYPE_CHILD

public static final int CONNECTION_TYPE_CHILD
See Also:
Constant Field Values
Constructor Detail

Connection

public Connection()
Basic constructor


Connection

public Connection(int ConnectionType)
Constructor sets up some basic attributes, calls the basic constructor

Parameters:
ConnectionType -
Method Detail

getConnectionType

public int getConnectionType()
Defines the nature of the connection, which must take one of the constant values defined on this class


setConnectionType

public void setConnectionType(int connectionType)
Defines the nature of the connection, which must take one of the constant values defined on this class


getSourceCardinality

public Range getSourceCardinality()
The cardibality attactched to the source of the connection


setSourceCardinality

public void setSourceCardinality(Range sourceCardinality)
The cardibality attactched to the source of the connection


getTargetCardinality

public Range getTargetCardinality()
The cardibality attactched to the target of the connection


setTargetCardinality

public void setTargetCardinality(Range targetCardinality)
The cardibality attactched to the target of the connection



Copyright © 2006 Agena Ltd. All Rights Reserved.