org.apache.jdo.impl.model.jdo
Class JDOPackageImpl

java.lang.Object
  extended by org.apache.jdo.impl.model.jdo.JDOElementImpl
      extended by org.apache.jdo.impl.model.jdo.JDOPackageImpl
All Implemented Interfaces:
JDOElement, JDOPackage

public class JDOPackageImpl
extends JDOElementImpl
implements JDOPackage

A JDOPackage instance represents the JDO package metadata.

Author:
Michael Bouschen

Constructor Summary
JDOPackageImpl()
           
 
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 class org.apache.jdo.impl.model.jdo.JDOElementImpl
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, firePropertyChange, fireVetoableChange, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jdo.model.jdo.JDOElement
addPropertyChangeListener, addVetoableChangeListener, createJDOExtension, getJDOExtensions, removeJDOExtension, removePropertyChangeListener, removeVetoableChangeListener
 

Constructor Detail

JDOPackageImpl

public JDOPackageImpl()
Method Detail

getName

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

Specified by:
getName in interface JDOPackage
Returns:
the name

setName

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

Specified by:
setName in interface JDOPackage
Parameters:
name - the name

getDeclaringModel

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

Specified by:
getDeclaringModel in interface JDOPackage
Returns:
the JDOModel that owns this JDOPackage.

setDeclaringModel

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

Specified by:
setDeclaringModel in interface JDOPackage
Parameters:
model - the declaring JDOModel of this JDOPackage.


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