| |
|
| java.lang.Object org.jpox.metadata.MetaData org.jpox.metadata.ImplementsMetaData
ImplementsMetaData | public class ImplementsMetaData extends MetaData (Code) | | The implements element declares a persistence-capable interface implemented by the
persistence-capable class that contains this element. An extent of persistence-capable
classes that implement this interface is managed by the JDO implementation. The extent
can be used for queries or for iteration just like an extent of persistence-capable
instances. The attribute name is required, and is the name of the interface. The java
class naming rules apply: if the interface name is unqualified, the package is the name
of the enclosing package.
MetaData Element
The MetaData Element represented here is as follows
version: $Revision: 1.12 $ |
Field Summary | |
protected String | name Name of the interface implemented. | final protected List | properties Properties implemented. |
name | protected String name(Code) | | Name of the interface implemented.
|
properties | final protected List properties(Code) | | Properties implemented.
|
ImplementsMetaData | public ImplementsMetaData(ClassMetaData parent, String name)(Code) | | Constructor.
Parameters: parent - Parent class Parameters: name - Name of the interface being implemented |
addProperty | public void addProperty(PropertyMetaData pmd)(Code) | | Method to add a property to this interface.
Parameters: pmd - Property |
getName | public String getName()(Code) | | Accessor for name.
Returns the name. |
populate | public synchronized void populate(ClassLoaderResolver clr)(Code) | | Method to populate the details of the implements
Parameters: clr - ClassLoaderResolver to use in loading any classes |
toString | public String toString(String prefix, String indent)(Code) | | Returns a string representation of the object.
This can be used as part of a facility to output a MetaData file.
Parameters: prefix - prefix string Parameters: indent - indent string a string representation of the object. |
|
|
|