View Javadoc

1   package org.kite9.diagram.primitives;
2   
3   /***
4    * This type of diagram element is a composite part of another element.  
5    * Compare with {@link IdentifiableDiagramElement}.  This means that only a single (compositional)
6    * reference is held to this object.  
7    * 
8    * This is used to simplify xml serialization.
9    * 
10   * @author robmoffat
11   *
12   */
13  public interface CompositionalDiagramElement extends DiagramElement {
14  
15  	public Object getParent();
16  	
17  	/***
18  	 * This must be called by the parent object when the composition is created.
19  	 */
20  	public void setParent(Object de);
21  	
22  }