gsfc.nssdc.cdf
Interface CDFObject

All Known Implementing Classes:
Attribute, CDF, CDFData, Entry, Variable

public interface CDFObject

CDFObject provides the base interface for all CDF objects. CDF objects mean the CDF, Attribute, Entry and Variable objects. All these objects need to implement this interface.

Version:
1.0

Method Summary
 void delete()
          Deletes the current object.
 java.lang.String getName()
          Returns the name of the current object.
 void rename(java.lang.String name)
          Renames the current object.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the current object.

Returns:
the name of the current object

rename

public void rename(java.lang.String name)
            throws CDFException
Renames the current object.

Parameters:
name - the new object name
Throws:
CDFException - if an error occurs renaming the current object

delete

public void delete()
            throws CDFException
Deletes the current object.

Throws:
CDFException - if an error occurs deleting the current object