org.omg.cwm.objectmodel.core
Interface ImportedElements

All Superinterfaces:
javax.jmi.reflect.RefAssociation, javax.jmi.reflect.RefBaseObject

public interface ImportedElements
extends javax.jmi.reflect.RefAssociation

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.


Method Summary
 boolean add(ModelElement ImportedElement, MOFPackage Importer)
           
 boolean exists(ModelElement ImportedElement, MOFPackage Importer)
           
 java.util.Collection getImportedElement(MOFPackage Importer)
           
 java.util.Collection getImporter(ModelElement ImportedElement)
           
 boolean remove(ModelElement ImportedElement, MOFPackage Importer)
           
 
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

exists

public boolean exists(ModelElement ImportedElement,
                      MOFPackage Importer)
               throws javax.jmi.reflect.JmiException

getImportedElement

public java.util.Collection getImportedElement(MOFPackage Importer)
                                        throws javax.jmi.reflect.JmiException

getImporter

public java.util.Collection getImporter(ModelElement ImportedElement)
                                 throws javax.jmi.reflect.JmiException

add

public boolean add(ModelElement ImportedElement,
                   MOFPackage Importer)
            throws javax.jmi.reflect.JmiException

remove

public boolean remove(ModelElement ImportedElement,
                      MOFPackage Importer)
               throws javax.jmi.reflect.JmiException


Copyright 1997-2005 by Object Management Group, Inc. (http://www.omg.org/), 250 First Ave. Needham, MA 02494 U.S.A. All rights reserved. Unless otherwise indicated, users may make a single copy of the contents, in whole or in part, of this web site strictly for personal, non-commercial use. In the event that all or part of this site is downloaded for personal use, users shall maintain all proprietary notices including copyright notices that appear on or in connection with that content. Other than creating a single copy of contents for personal use as described herein, users may not copy, reproduce, distribute, republish, download, display, post or transmit in any form or by any means, including but not limited to electronic, mechanical, photocopying, recording, or other means, any content found or linked to the OMG web site without the prior express written permission of OMG. Any unauthorized use of any content contained on the OMG web site may violate the copyright laws, trademark laws, laws relating to publicity and privacy, and other regulations and statutes in the U.S. and other countries.