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;

/**
 * PrimitiveType class proxy interface.
 * Class representing Java primitive types. Name of the primitive type is 
 * immutable and is derived from the kind attribute that determines which 
 * primitive type this object represents. The name always matches the Java 
 * keyword representing the primitive type in Java source code. Set of instances 
 * of this object is given and the instances cannot be created explicitly. 
 * One can get all instances of a primitive type using refAllOfClass or TypeClass.resolveType 
 * methods.
 *  
 * 

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 PrimitiveTypeClass extends javax.jmi.reflect.RefClass { /** * The default factory operation used to create an instance object. * @return The created instance object. */ public PrimitiveType createPrimitiveType(); /** * Creates an instance object having attributes initialized by the passed * values. * @param name Name of this element. * @param kind Read-only attribute that determines what Java primitive type * this object represents. * @return The created instance object. */ public PrimitiveType createPrimitiveType(java.lang.String name, org.netbeans.jmi.javamodel.PrimitiveTypeKind kind); /** * Resolves a type by its name taking the current classpath into account when * resolving classes. * @param name Name of the type to be resolved. * @return Resolves a type by its name taking the current classpath into account * when resolving classes. */ public org.netbeans.jmi.javamodel.Type resolve(java.lang.String name); }

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