Class LinkMetadataSource
java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.LinkMetadataSource
- All Implemented Interfaces:
MetadataSource
Makes the Link class available in our Dynamic JAXB context. This class is used to describe
non-private owned relationships and is not available by default because it is used in a mapping
that is added at preLogin.
- See Also:
- Author:
- tware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
LinkMetadataSource
public LinkMetadataSource()
-
-
Method Details
-
getXmlBindings
- Specified by:
getXmlBindings
in interfaceMetadataSource
- Parameters:
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext- Returns:
- the XmlBindings object representing the metadata
-