Package javax.jdo.metadata
Interface InheritanceMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCustomStrategy()Accessor for the custom inheritance (overriding "strategy").DiscriminatorMetadatagetDiscriminatorMetadata()Accessor for the discriminator (if any).JoinMetadatagetJoinMetadata()Accessor for the join (if any).InheritanceStrategygetStrategy()Accessor for the inheritance strategy.DiscriminatorMetadatanewDiscriminatorMetadata()Method to define the new discriminator metadata.JoinMetadatanewJoinMetadata()Method to define the new join information.InheritanceMetadatasetCustomStrategy(String strategy)Method to set the custom inheritance strategy.InheritanceMetadatasetStrategy(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- Returns:
- This metadata object
-
getStrategy
InheritanceStrategy getStrategy()
Accessor for the inheritance strategy.- Returns:
- The strategy
-
setCustomStrategy
InheritanceMetadata setCustomStrategy(String strategy)
Method to set the custom inheritance strategy.- Parameters:
strategy- The strategy- Returns:
- This metadata object
-
getCustomStrategy
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
-
-