org.datanucleus.jdo.metadata
Class ClassMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.TypeMetadataImpl
          extended by org.datanucleus.jdo.metadata.ClassMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.ClassMetadata, javax.jdo.metadata.Metadata, javax.jdo.metadata.TypeMetadata

public class ClassMetadataImpl
extends TypeMetadataImpl
implements javax.jdo.metadata.ClassMetadata

Implementation of JDO ClassMetadata object.


Constructor Summary
ClassMetadataImpl(ClassMetaData internal)
           
 
Method Summary
 ClassMetaData getInternal()
           
 AbstractMetadataImpl getParent()
           
 javax.jdo.metadata.ClassPersistenceModifier getPersistenceModifier()
           
 javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.reflect.Field fld)
           
 javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
           
 javax.jdo.metadata.ClassMetadata setPersistenceModifier(javax.jdo.metadata.ClassPersistenceModifier mod)
           
 
Methods inherited from class org.datanucleus.jdo.metadata.TypeMetadataImpl
getCacheable, getCatalog, getColumns, getDatastoreIdentityMetadata, getDetachable, getEmbeddedOnly, getFetchGroups, getForeignKeys, getIdentityType, getIndices, getInheritanceMetadata, getJoins, getMembers, getName, getNumberOfColumns, getNumberOfFetchGroups, getNumberOfForeignKeys, getNumberOfIndices, getNumberOfJoins, getNumberOfMembers, getNumberOfQueries, getNumberOfUniques, getObjectIdClass, getPrimaryKeyMetadata, getQueries, getRequiresExtent, getSchema, getSerializeRead, getTable, getUniques, getVersionMetadata, newColumnMetadata, newDatastoreIdentityMetadata, newFetchGroupMetadata, newForeignKeyMetadata, newIndexMetadata, newInheritanceMetadata, newJoinMetadata, newPrimaryKeyMetadata, newPropertyMetadata, newPropertyMetadata, newQueryMetadata, newUniqueMetadata, newVersionMetadata, setCacheable, setCatalog, setDetachable, setEmbeddedOnly, setIdentityType, setObjectIdClass, setRequiresExtent, setSchema, setSerializeRead, setTable
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, newExtensionMetadata, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jdo.metadata.TypeMetadata
getCacheable, getCatalog, getColumns, getDatastoreIdentityMetadata, getDetachable, getEmbeddedOnly, getFetchGroups, getForeignKeys, getIdentityType, getIndices, getInheritanceMetadata, getJoins, getMembers, getName, getNumberOfColumns, getNumberOfFetchGroups, getNumberOfForeignKeys, getNumberOfIndices, getNumberOfJoins, getNumberOfMembers, getNumberOfQueries, getNumberOfUniques, getObjectIdClass, getPrimaryKeyMetadata, getQueries, getRequiresExtent, getSchema, getSerializeRead, getTable, getUniques, getVersionMetadata, newColumnMetadata, newDatastoreIdentityMetadata, newFetchGroupMetadata, newForeignKeyMetadata, newIndexMetadata, newInheritanceMetadata, newJoinMetadata, newPrimaryKeyMetadata, newPropertyMetadata, newPropertyMetadata, newQueryMetadata, newUniqueMetadata, newVersionMetadata, setCacheable, setCatalog, setDetachable, setEmbeddedOnly, setIdentityType, setObjectIdClass, setRequiresExtent, setSchema, setSerializeRead, setTable
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, newExtensionMetadata
 

Constructor Detail

ClassMetadataImpl

public ClassMetadataImpl(ClassMetaData internal)
Method Detail

getInternal

public ClassMetaData getInternal()
Overrides:
getInternal in class TypeMetadataImpl

getPersistenceModifier

public javax.jdo.metadata.ClassPersistenceModifier getPersistenceModifier()
Specified by:
getPersistenceModifier in interface javax.jdo.metadata.ClassMetadata

setPersistenceModifier

public javax.jdo.metadata.ClassMetadata setPersistenceModifier(javax.jdo.metadata.ClassPersistenceModifier mod)
Specified by:
setPersistenceModifier in interface javax.jdo.metadata.ClassMetadata

newFieldMetadata

public javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.String name)
Specified by:
newFieldMetadata in interface javax.jdo.metadata.ClassMetadata

newFieldMetadata

public javax.jdo.metadata.FieldMetadata newFieldMetadata(java.lang.reflect.Field fld)
Specified by:
newFieldMetadata in interface javax.jdo.metadata.ClassMetadata

getParent

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


Copyright © 2011. All Rights Reserved.