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;

/**
 * Resource object instance interface.
 * Class representing a metadata source (source or class file).
 *  
 * 

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 Resource extends org.netbeans.jmi.javamodel.NamedElement { /** * @return */ public java.lang.String getSourceText(); /** * @param identifier * @return */ public boolean containsIdentifier(java.lang.String identifier); /** * @return */ public int getStatus(); /** * @return */ public java.util.List getErrors(); /** * Returns the value of attribute timestamp. * Timestamp of the resource. * @return Value of attribute timestamp. */ public long getTimestamp(); /** * Sets the value of timestamp attribute. See {@link #getTimestamp} for description * on the attribute. * @param newValue New value to be set. */ public void setTimestamp(long newValue); /** * Returns the value of attribute classifiers. * List of classifiers defined in this resource. * @return Value of classifiers attribute. */ public java.util.List getClassifiers(); /** * Returns the value of attribute imports. * List of imports declared in this resource. * @return Value of imports attribute. */ public java.util.List getImports(); /** * Returns the value of attribute packageName. * Package associated with this resource (using package keyword). * @return Value of attribute packageName. */ public java.lang.String getPackageName(); /** * Sets the value of packageName attribute. See {@link #getPackageName} for * description on the attribute. * @param newValue New value to be set. */ public void setPackageName(java.lang.String newValue); /** * Returns the value of attribute packageIdentifier. * @return Value of attribute packageIdentifier. */ public org.netbeans.jmi.javamodel.MultipartId getPackageIdentifier(); /** * Sets the value of packageIdentifier attribute. See {@link #getPackageIdentifier} * for description on the attribute. * @param newValue New value to be set. */ public void setPackageIdentifier(org.netbeans.jmi.javamodel.MultipartId newValue); }

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