alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

/*
 *                  Sun Public License Notice
 *   
 *  The contents of this file are subject to the Sun Public License
 *  Version 1.0 (the "License"). You may not use this file except in
 *  compliance with the License. A copy of the License is available at
 *  http://www.sun.com/
 *    
 *  The Original Code is NetBeans. The Initial Developer of the Original
 *  Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
 *  Microsystems, Inc. All Rights Reserved.
 *  
 */

package org.netbeans.jmi.javamodel;

/**
 * ContainsResources association proxy interface.
 *  
 * 

Note: This type should not be subclassed or implemented by * clients. It is generated from a MOF metamodel and automatically implemented * by MDR (see mdr.netbeans.org) */ public interface ContainsResources extends javax.jmi.reflect.RefAssociation { /** * Queries whether a link currently exists between a given pair of instance * objects in the associations link set. * @param javaPackage Value of the first association end. * @param resources Value of the second association end. * @return Returns true if the queried link exists. */ public boolean exists(org.netbeans.jmi.javamodel.JavaPackage javaPackage, org.netbeans.jmi.javamodel.Resource resources); /** * Queries the instance object that is related to a particular instance object * by a link in the current associations link set. * @param resources Required value of the second association end. * @return Related object or null if none exists. */ public org.netbeans.jmi.javamodel.JavaPackage getJavaPackage(org.netbeans.jmi.javamodel.Resource resources); /** * Queries the instance objects that are related to a particular instance * object by a link in the current associations link set. * @param javaPackage Required value of the first association end. * @return Collection of related objects. */ public java.util.Collection getResources(org.netbeans.jmi.javamodel.JavaPackage javaPackage); /** * Creates a link between the pair of instance objects in the associations * link set. * @param javaPackage Value of the first association end. * @param resources Value of the second association end. */ public boolean add(org.netbeans.jmi.javamodel.JavaPackage javaPackage, org.netbeans.jmi.javamodel.Resource resources); /** * Removes a link between a pair of instance objects in the current associations * link set. * @param javaPackage Value of the first association end. * @param resources Value of the second association end. */ public boolean remove(org.netbeans.jmi.javamodel.JavaPackage javaPackage, org.netbeans.jmi.javamodel.Resource resources); }

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.