01: package com.metaboss.sdlctools.models.metabossmodel.visualmodel;
02:
03: /**
04: * EntityMayHaveStateDiagrams association proxy interface.
05: */
06: public interface EntityMayHaveStateDiagrams 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 entity Value of the first association end.
12: * @param entityStateDiagrams 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.enterprisemodel.systemimplementationmodel.Entity entity,
17: com.metaboss.sdlctools.models.metabossmodel.visualmodel.EntityStateDiagram entityStateDiagrams);
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 entityStateDiagrams 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.enterprisemodel.systemimplementationmodel.Entity getEntity(
26: com.metaboss.sdlctools.models.metabossmodel.visualmodel.EntityStateDiagram entityStateDiagrams);
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 entity Required value of the first association end.
32: * @return Collection of related objects.
33: */
34: public java.util.Collection getEntityStateDiagrams(
35: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity entity);
36:
37: /**
38: * Creates a link between the pair of instance objects in the associations
39: * link set.
40: * @param entity Value of the first association end.
41: * @param entityStateDiagrams Value of the second association end.
42: */
43: public boolean add(
44: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity entity,
45: com.metaboss.sdlctools.models.metabossmodel.visualmodel.EntityStateDiagram entityStateDiagrams);
46:
47: /**
48: * Removes a link between a pair of instance objects in the current associations
49: * link set.
50: * @param entity Value of the first association end.
51: * @param entityStateDiagrams Value of the second association end.
52: */
53: public boolean remove(
54: com.metaboss.sdlctools.models.metabossmodel.enterprisemodel.systemimplementationmodel.Entity entity,
55: com.metaboss.sdlctools.models.metabossmodel.visualmodel.EntityStateDiagram entityStateDiagrams);
56: }
|