org.apache.jdo.model.jdo
Interface JDOPackage

All Superinterfaces:
JDOElement
All Known Implementing Classes:
JDOPackageImpl

public interface JDOPackage
extends JDOElement

A JDOPackage instance represents the JDO package metadata.

Author:
Michael Bouschen

Method Summary
 JDOModel getDeclaringModel()
          Returns the declaring JDOModel of this JDOPackage.
 java.lang.String getName()
          Returns the name of this JDOPackage.
 void setDeclaringModel(JDOModel model)
          Set the declaring JDOModel for this JDOPackage.
 void setName(java.lang.String name)
          Sets the name of this JDOPackage.
 
Methods inherited from interface org.apache.jdo.model.jdo.JDOElement
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
 

Method Detail

getName

public java.lang.String getName()
Returns the name of this JDOPackage.

Returns:
the name

setName

public void setName(java.lang.String name)
             throws ModelException
Sets the name of this JDOPackage.

Parameters:
name - the name
Throws:
ModelException - if impossible

getDeclaringModel

public JDOModel getDeclaringModel()
Returns the declaring JDOModel of this JDOPackage.

Returns:
the JDOModel that owns this JDOPackage.

setDeclaringModel

public void setDeclaringModel(JDOModel model)
Set the declaring JDOModel for this JDOPackage.

Parameters:
model - the declaring JDOModel of this JDOPackage.


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.