|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportedElements
ImportedElements association proxy interface. The ImportedElements association identifies ModelElements that a Package instance imports from other Namespaces. Although any ModelElement may be imported by a Package, imported ModelElements are typically other Packages or aggregate Classifiers, such as Class instances.
Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.
Method Summary | |
---|---|
boolean |
add(CwmModelElement importedElement,
CwmPackage importer)
Creates a link between the pair of instance objects in the associations link set. |
boolean |
exists(CwmModelElement importedElement,
CwmPackage importer)
Queries whether a link currently exists between a given pair of instance objects in the associations link set. |
Collection<CwmModelElement> |
getImportedElement(CwmPackage importer)
Queries the instance objects that are related to a particular instance object by a link in the current associations link set. |
Collection<CwmPackage> |
getImporter(CwmModelElement importedElement)
Queries the instance objects that are related to a particular instance object by a link in the current associations link set. |
boolean |
remove(CwmModelElement importedElement,
CwmPackage importer)
Removes a link between a pair of instance objects in the current associations link set. |
Methods inherited from interface javax.jmi.reflect.RefAssociation |
---|
refAddLink, refAllLinks, refLinkExists, refQuery, refQuery, refRemoveLink |
Methods inherited from interface javax.jmi.reflect.RefBaseObject |
---|
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints |
Method Detail |
---|
boolean exists(CwmModelElement importedElement, CwmPackage importer)
importedElement
- Value of the first association end.importer
- Value of the second association end.
Collection<CwmModelElement> getImportedElement(CwmPackage importer)
importer
- Required value of the second association end.
Collection<CwmPackage> getImporter(CwmModelElement importedElement)
importedElement
- Required value of the first association end.
boolean add(CwmModelElement importedElement, CwmPackage importer)
importedElement
- Value of the first association end.importer
- Value of the second association end.boolean remove(CwmModelElement importedElement, CwmPackage importer)
importedElement
- Value of the first association end.importer
- Value of the second association end.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |