Interface InheritanceMetadata
- All Superinterfaces:
Metadata
Represents the inheritance of a class.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionAccessor for the custom inheritance (overriding "strategy").Accessor for the discriminator (if any).Accessor for the join (if any).Accessor for the inheritance strategy.Method to define the new discriminator metadata.Method to define the new join information.setCustomStrategy(String strategy) Method to set the custom inheritance strategy.setStrategy(InheritanceStrategy strategy) Method to set the inheritance strategy.Methods inherited from interface Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetadata
-
Method Details
-
setStrategy
Method to set the inheritance strategy.- Parameters:
strategy- The strategy- Returns:
- This metadata object
-
getStrategy
-
setCustomStrategy
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
-
getJoinMetadata
-