javax.jdo.metadata
Interface InheritanceMetadata

All Superinterfaces:
Metadata

public interface InheritanceMetadata
extends Metadata

Represents the inheritance of a class.

Since:
2.3

Method Summary
 java.lang.String getCustomStrategy()
          Accessor for the custom inheritance (overriding "strategy").
 DiscriminatorMetadata getDiscriminatorMetaData()
          Accessor for the discriminator (if any).
 JoinMetadata getJoinMetaData()
          Accessor for the join (if any).
 InheritanceStrategy getStrategy()
          Accessor for the inheritance strategy.
 DiscriminatorMetadata newDiscriminatorMetadata()
          Method to define the new discriminator metadata.
 JoinMetadata newJoinMetadata()
          Method to define the new join information
 InheritanceMetadata setCustomStrategy(java.lang.String strategy)
          Method to set the custom inheritance strategy.
 InheritanceMetadata setStrategy(InheritanceStrategy strategy)
          Method to set the inheritance strategy.
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetaData
 

Method Detail

setStrategy

InheritanceMetadata setStrategy(InheritanceStrategy strategy)
Method to set the inheritance strategy.

Parameters:
strategy - The strategy

getStrategy

InheritanceStrategy getStrategy()
Accessor for the inheritance strategy.

Returns:
The strategy

setCustomStrategy

InheritanceMetadata setCustomStrategy(java.lang.String strategy)
Method to set the custom inheritance strategy.

Parameters:
strategy - The strategy

getCustomStrategy

java.lang.String getCustomStrategy()
Accessor for the custom inheritance (overriding "strategy").

Returns:
The strategy

newDiscriminatorMetadata

DiscriminatorMetadata newDiscriminatorMetadata()
Method to define the new discriminator metadata.

Returns:
The DiscriminatorMetadata

getDiscriminatorMetaData

DiscriminatorMetadata getDiscriminatorMetaData()
Accessor for the discriminator (if any).

Returns:
Discriminator

newJoinMetadata

JoinMetadata newJoinMetadata()
Method to define the new join information

Returns:
The JoinMetadata

getJoinMetaData

JoinMetadata getJoinMetaData()
Accessor for the join (if any).

Returns:
Join information


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