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