01: package com.metaboss.sdlctools.models.metabossmodel.visualmodel;
02:
03: /**
04: * DiagramElementHasGraphicFeatures association proxy interface.
05: */
06: public interface DiagramElementHasGraphicFeatures extends
07: javax.jmi.reflect.RefAssociation {
08: /**
09: * Queries whether a link currently exists between a given pair of instance
10: * objects in the associations link set.
11: * @param diagramElement Value of the first association end.
12: * @param graphicFeatures Value of the second association end.
13: * @return Returns true if the queried link exists.
14: */
15: public boolean exists(
16: com.metaboss.sdlctools.models.metabossmodel.visualmodel.DiagramElement diagramElement,
17: com.metaboss.sdlctools.models.metabossmodel.visualmodel.GraphicElement graphicFeatures);
18:
19: /**
20: * Queries the instance object that is related to a particular instance object
21: * by a link in the current associations link set.
22: * @param graphicFeatures Required value of the second association end.
23: * @return Related object or <code>null</code> if none exists.
24: */
25: public com.metaboss.sdlctools.models.metabossmodel.visualmodel.DiagramElement getDiagramElement(
26: com.metaboss.sdlctools.models.metabossmodel.visualmodel.GraphicElement graphicFeatures);
27:
28: /**
29: * Queries the instance objects that are related to a particular instance
30: * object by a link in the current associations link set.
31: * @param diagramElement Required value of the first association end.
32: * @return Collection of related objects.
33: */
34: public java.util.Collection getGraphicFeatures(
35: com.metaboss.sdlctools.models.metabossmodel.visualmodel.DiagramElement diagramElement);
36:
37: /**
38: * Creates a link between the pair of instance objects in the associations
39: * link set.
40: * @param diagramElement Value of the first association end.
41: * @param graphicFeatures Value of the second association end.
42: */
43: public boolean add(
44: com.metaboss.sdlctools.models.metabossmodel.visualmodel.DiagramElement diagramElement,
45: com.metaboss.sdlctools.models.metabossmodel.visualmodel.GraphicElement graphicFeatures);
46:
47: /**
48: * Removes a link between a pair of instance objects in the current associations
49: * link set.
50: * @param diagramElement Value of the first association end.
51: * @param graphicFeatures Value of the second association end.
52: */
53: public boolean remove(
54: com.metaboss.sdlctools.models.metabossmodel.visualmodel.DiagramElement diagramElement,
55: com.metaboss.sdlctools.models.metabossmodel.visualmodel.GraphicElement graphicFeatures);
56: }
|