blob: 5dde1057d6279f3dd045d819d22ca814e7574691 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
package com.c2kernel.graph.model;
/**
* @version $Revision: 1.6 $ $Date: 2003/05/12 13:10:20 $
* @author $Author: abranson $
*/
import com.c2kernel.utils.CastorHashMap;
abstract public class Graphable extends Vertex
{
protected CastorHashMap mProperties = null;
public GraphModel children;
public void setProperties(CastorHashMap props)
{
mProperties = props;
}
public CastorHashMap getProperties()
{
return mProperties;
}
/** @associates Graphable that is directly containing it*/
private Graphable parent;
/**
* Returns the parent.
* @return Graphable
*/
public Graphable getParent()
{
return parent;
}
/**
* Sets the parent.
* @param parent The parent to set
*/
public void setParent(Graphable parent)
{
this.parent = parent;
}
public GraphModel getChildGraphModel() {
return children;
}
public Object getCreationContext() {
return this;
}
}
|