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