org.datanucleus.jdo.metadata
Class AbstractMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.Metadata
Direct Known Subclasses:
ArrayMetadataImpl, CollectionMetadataImpl, ColumnMetadataImpl, DatastoreIdentityMetadataImpl, DiscriminatorMetadataImpl, ElementMetadataImpl, EmbeddedMetadataImpl, FetchGroupMetadataImpl, FetchPlanMetadataImpl, ForeignKeyMetadataImpl, IndexMetadataImpl, InheritanceMetadataImpl, JDOMetadataImpl, JoinMetadataImpl, KeyMetadataImpl, MapMetadataImpl, MemberMetadataImpl, OrderMetadataImpl, PackageMetadataImpl, PrimaryKeyMetadataImpl, QueryMetadataImpl, SequenceMetadataImpl, TypeMetadataImpl, UniqueMetadataImpl, ValueMetadataImpl, VersionMetadataImpl

public class AbstractMetadataImpl
extends java.lang.Object
implements javax.jdo.metadata.Metadata

Base for all implementations of JDO Metadata classes. Provides parentage, and the underlying internal metadata component used by DataNucleus. Also provides extension handling.


Constructor Summary
AbstractMetadataImpl(MetaData internal)
           
 
Method Summary
 javax.jdo.metadata.ExtensionMetadata[] getExtensions()
           
 int getNumberOfExtensions()
           
 AbstractMetadataImpl getParent()
           
 javax.jdo.metadata.ExtensionMetadata newExtensionMetadata(java.lang.String vendor, java.lang.String key, java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractMetadataImpl

public AbstractMetadataImpl(MetaData internal)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getExtensions

public javax.jdo.metadata.ExtensionMetadata[] getExtensions()
Specified by:
getExtensions in interface javax.jdo.metadata.Metadata

getNumberOfExtensions

public int getNumberOfExtensions()
Specified by:
getNumberOfExtensions in interface javax.jdo.metadata.Metadata

newExtensionMetadata

public javax.jdo.metadata.ExtensionMetadata newExtensionMetadata(java.lang.String vendor,
                                                                 java.lang.String key,
                                                                 java.lang.String value)
Specified by:
newExtensionMetadata in interface javax.jdo.metadata.Metadata

getParent

public AbstractMetadataImpl getParent()
Specified by:
getParent in interface javax.jdo.metadata.Metadata


Copyright © 2011. All Rights Reserved.