Modelers

org.topcased.modeler.utils
Class SourceTargetData

java.lang.Object
  extended by org.topcased.modeler.utils.SourceTargetData

public class SourceTargetData
extends java.lang.Object


creation : 16 juin 2005 Class that store data about source and target couple


Field Summary
static int DIAGRAM
          The edge container is the model object represented by the current diagram
static int NONE
          The edge is not associated with a model object.
static int SOURCE
          The edge container is the source object
static int SOURCE_CONTAINER
          The edge container is the source container
static int TARGET
          The edge container is the target object
static int TARGET_CONTAINER
          The edge container is the target container
 
Constructor Summary
SourceTargetData(boolean isReversible, boolean isAutoRef, int containerType, java.lang.String containerObject, java.lang.String containerRef, java.lang.String refEdgeToSource, java.lang.String refEdgeToTarget, java.lang.String refSourceToEdge, java.lang.String refSourceToTarget, java.lang.String refTargetToEdge, java.lang.String refTargetToSource)
          The Constructor
 
Method Summary
 java.lang.String getContainerObject()
           
 java.lang.String getContainerRef()
           
 int getContainerType()
           
 java.lang.String getRefEdgeToSource()
           
 java.lang.String getRefEdgeToTarget()
           
 java.lang.String getRefSourceToEdge()
           
 java.lang.String getRefSourceToTarget()
           
 java.lang.String getRefTargetToEdge()
           
 java.lang.String getRefTargetToSource()
           
 boolean isAutoRef()
           
 boolean isReversible()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE
The edge is not associated with a model object. There is no container.

See Also:
Constant Field Values

SOURCE

public static final int SOURCE
The edge container is the source object

See Also:
Constant Field Values

SOURCE_CONTAINER

public static final int SOURCE_CONTAINER
The edge container is the source container

See Also:
Constant Field Values

DIAGRAM

public static final int DIAGRAM
The edge container is the model object represented by the current diagram

See Also:
Constant Field Values

TARGET

public static final int TARGET
The edge container is the target object

See Also:
Constant Field Values

TARGET_CONTAINER

public static final int TARGET_CONTAINER
The edge container is the target container

See Also:
Constant Field Values
Constructor Detail

SourceTargetData

public SourceTargetData(boolean isReversible,
                        boolean isAutoRef,
                        int containerType,
                        java.lang.String containerObject,
                        java.lang.String containerRef,
                        java.lang.String refEdgeToSource,
                        java.lang.String refEdgeToTarget,
                        java.lang.String refSourceToEdge,
                        java.lang.String refSourceToTarget,
                        java.lang.String refTargetToEdge,
                        java.lang.String refTargetToSource)
The Constructor

Parameters:
isReversible - specify whether the connection is Reversible
isAutoRef - specify whether the connection may be autoRef
containerType - specify the type of container
containerObject - specify the model object that is the container
containerRef - specify the eStructuralFeature that should contain the connection model object
refEdgeToSource - the eStructuralFeature of the Edge that reference the Source
refEdgeToTarget - the eStructuralFeature of the Edge that reference the Target
refSourceToEdge - the eStructuralFeature of the Source that reference the Edge
refSourceToTarget - the eStructuralFeature of the Source that reference the Target
refTargetToEdge - the eStructuralFeature of the Target that reference the Edge
refTargetToSource - the eStructuralFeature of the Target that reference the Source
Method Detail

isReversible

public boolean isReversible()

isAutoRef

public boolean isAutoRef()

getContainerType

public int getContainerType()

getContainerObject

public java.lang.String getContainerObject()

getContainerRef

public java.lang.String getContainerRef()

getRefEdgeToSource

public java.lang.String getRefEdgeToSource()

getRefEdgeToTarget

public java.lang.String getRefEdgeToTarget()

getRefSourceToEdge

public java.lang.String getRefSourceToEdge()

getRefSourceToTarget

public java.lang.String getRefSourceToTarget()

getRefTargetToEdge

public java.lang.String getRefTargetToEdge()

getRefTargetToSource

public java.lang.String getRefTargetToSource()

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.