Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.jboogie.openapi

Class DiId

com.gentleware.jboogie.kernel.Id
    inheritcom.gentleware.jboogie.openapi.DiId

public class DiId


A unique (but non-persistent) identifier of a DI element (one of DiagramElement, DiagramLink, GraphConnector).

It is used to support Undo/Redo: Commands must be able to reference a DI element (e.g. graph node) even though the instance does not currently exists (is deleted or has not yet been created). When an instance is recreated due to a redo operation it gets the same Id, so that subsequent redos reference the correct object.

Created: 15.02.2003 13:29:39

Authors:
Stephen Kelvin


 Attribute Summary
public static String  RDIID_INDICATOR
 
arrow_up
 

 Association Summary
public CommonContainerInfo  commonContainerInfo
 
public CommonContainerInfo  commonContainerInfo_1
 
public CommonContainerInfo  commonContainerInfo_2
 
public DiagramElementAction  diagramElementAction
 
public NewPositioner  newPositioner
 
public NewPositioner  newPositioner_1
 
arrow_up
 

 Constructor Summary
public   DiId(Project project, String customPrefix)
DO NOT USE THIS CONSTRUCTOR!! USE PROJECT.GETNEXTDIID() NOW!!! Creates a new Id. 
arrow_up
 

 Method Summary
public static DiId   deserialize(String s, Project project)
 
public final void   detach()
 
public RefObject   getElement()
 
public String   getIdIndicator()
 
public boolean   isAttachable(RefObject element)
 
public static boolean   isDiagramElement(RefObject element)
Checks if the given element is a DI element and can attached to DiIds. 
public static String   serialize(DiId rDiId)
 
arrow_up
 

Tagged Values
static false
 

 Attribute Detail

RDIID_INDICATOR

public static String RDIID_INDICATOR

arrow_up
 Association Detail

commonContainerInfo

public CommonContainerInfo commonContainerInfo

arrow_up


commonContainerInfo_1

public CommonContainerInfo commonContainerInfo_1

arrow_up


commonContainerInfo_2

public CommonContainerInfo commonContainerInfo_2

arrow_up


diagramElementAction

public DiagramElementAction diagramElementAction

arrow_up


newPositioner

public NewPositioner newPositioner

arrow_up


newPositioner_1

public NewPositioner newPositioner_1

arrow_up
 Constructor Detail

DiId

public DiId DiId(Project project, String customPrefix)


DO NOT USE THIS CONSTRUCTOR!! USE PROJECT.GETNEXTDIID() NOW!!! Creates a new Id.  
Parameters:
project -
customPrefix -
Returns:
arrow_up
 Method Detail

deserialize

public static DiId deserialize(String s, Project project)

Parameters:
s -
project -
Returns:
arrow_up


detach

public final void detach()

arrow_up


getElement

public RefObject getElement()

Returns:
arrow_up


getIdIndicator

public String getIdIndicator()

Returns:
arrow_up


isAttachable

public boolean isAttachable(RefObject element)

Parameters:
element -
Returns:
arrow_up


isDiagramElement

public static boolean isDiagramElement(RefObject element)


Checks if the given element is a DI element and can attached to DiIds.  
Parameters:
element - element to check
Returns:
true if element can be attached to Diids
arrow_up


serialize

public static String serialize(DiId rDiId)

Parameters:
rDiId -
Returns:
arrow_up
Created  2004 - 10 - 21

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.