org.datanucleus.jdo.metadata
Class InheritanceMetadataImpl

java.lang.Object
  extended by org.datanucleus.jdo.metadata.AbstractMetadataImpl
      extended by org.datanucleus.jdo.metadata.InheritanceMetadataImpl
All Implemented Interfaces:
javax.jdo.metadata.InheritanceMetadata, javax.jdo.metadata.Metadata

public class InheritanceMetadataImpl
extends AbstractMetadataImpl
implements javax.jdo.metadata.InheritanceMetadata

Implementation of JDO InheritanceMetadata object.


Constructor Summary
InheritanceMetadataImpl(InheritanceMetaData internal)
           
 
Method Summary
 java.lang.String getCustomStrategy()
           
 javax.jdo.metadata.DiscriminatorMetadata getDiscriminatorMetadata()
           
 InheritanceMetaData getInternal()
           
 javax.jdo.metadata.JoinMetadata getJoinMetadata()
           
 javax.jdo.annotations.InheritanceStrategy getStrategy()
           
 javax.jdo.metadata.DiscriminatorMetadata newDiscriminatorMetadata()
           
 javax.jdo.metadata.JoinMetadata newJoinMetadata()
           
 javax.jdo.metadata.InheritanceMetadata setCustomStrategy(java.lang.String str)
           
 javax.jdo.metadata.InheritanceMetadata setStrategy(javax.jdo.annotations.InheritanceStrategy str)
           
 
Methods inherited from class org.datanucleus.jdo.metadata.AbstractMetadataImpl
getExtensions, getNumberOfExtensions, getParent, 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.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
 

Constructor Detail

InheritanceMetadataImpl

public InheritanceMetadataImpl(InheritanceMetaData internal)
Method Detail

getInternal

public InheritanceMetaData getInternal()

getCustomStrategy

public java.lang.String getCustomStrategy()
Specified by:
getCustomStrategy in interface javax.jdo.metadata.InheritanceMetadata

getDiscriminatorMetadata

public javax.jdo.metadata.DiscriminatorMetadata getDiscriminatorMetadata()
Specified by:
getDiscriminatorMetadata in interface javax.jdo.metadata.InheritanceMetadata

getJoinMetadata

public javax.jdo.metadata.JoinMetadata getJoinMetadata()
Specified by:
getJoinMetadata in interface javax.jdo.metadata.InheritanceMetadata

getStrategy

public javax.jdo.annotations.InheritanceStrategy getStrategy()
Specified by:
getStrategy in interface javax.jdo.metadata.InheritanceMetadata

newDiscriminatorMetadata

public javax.jdo.metadata.DiscriminatorMetadata newDiscriminatorMetadata()
Specified by:
newDiscriminatorMetadata in interface javax.jdo.metadata.InheritanceMetadata

newJoinMetadata

public javax.jdo.metadata.JoinMetadata newJoinMetadata()
Specified by:
newJoinMetadata in interface javax.jdo.metadata.InheritanceMetadata

setCustomStrategy

public javax.jdo.metadata.InheritanceMetadata setCustomStrategy(java.lang.String str)
Specified by:
setCustomStrategy in interface javax.jdo.metadata.InheritanceMetadata

setStrategy

public javax.jdo.metadata.InheritanceMetadata setStrategy(javax.jdo.annotations.InheritanceStrategy str)
Specified by:
setStrategy in interface javax.jdo.metadata.InheritanceMetadata


Copyright © 2011. All Rights Reserved.