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;

/**
 * Class object instance interface.
 * Class representing a Java class and 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 JavaClass extends org.netbeans.jmi.javamodel.Feature, org.netbeans.jmi.javamodel.ClassDefinition, org.netbeans.jmi.javamodel.GenericElement { /** * @param recursively * @return */ public java.util.Collection findSubTypes(boolean recursively); /** * Returns the value of attribute isInterface. * Derived attribute (from modifiers) indicating whether this instance represents * a Java interface or a Java class. * @return Value of attribute isInterface. */ public boolean isInterface(); /** * Sets the value of isInterface attribute. See {@link #isInterface} for description * on the attribute. * @param newValue New value to be set. */ public void setInterface(boolean newValue); /** * Returns the value of attribute simpleName. * Derived attribute (from name) that represents the simple name of the class * (last part of the fully qualified name). * @return Value of attribute simpleName. */ public java.lang.String getSimpleName(); /** * Sets the value of simpleName attribute. See {@link #getSimpleName} for * description on the attribute. * @param newValue New value to be set. */ public void setSimpleName(java.lang.String newValue); /** * Returns the value of attribute isInner. * @return Value of attribute isInner. */ public boolean isInner(); /** * Returns the value of reference implementors. * Returns all implementors (and subinterfaces) of a given interface. * @return Value of reference implementors. */ public java.util.Collection getImplementors(); /** * Returns the value of reference subClasses. * Navigates to all subclasses of a given class. * @return Value of reference subClasses. */ public java.util.Collection getSubClasses(); }

... 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.