Search in sources :

Example 1 with SingleResultQueryResultMetadataSource

use of org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource in project eclipselink by eclipse-ee4j.

the class FeatureSetV2 method getMetadataSources.

@Override
public List<MetadataSource> getMetadataSources() {
    final List<MetadataSource> metadataSources = new ArrayList<>();
    metadataSources.add(new ReportQueryResultListMetadataSource());
    metadataSources.add(new ReportQueryResultListItemMetadataSource());
    metadataSources.add(new SingleResultQueryListMetadataSource());
    metadataSources.add(new SimpleHomogeneousListMetadataSource());
    metadataSources.add(new ReportQueryResultCollectionMetadataSource());
    metadataSources.add(new ReadAllQueryResultCollectionMetadataSource());
    metadataSources.add(new SingleResultQueryResultMetadataSource());
    metadataSources.add(new JavaLangMetadataSource());
    metadataSources.add(new JavaMathMetadataSource());
    metadataSources.add(new JavaUtilMetadataSource());
    metadataSources.add(new ErrorResponseMetadataSource());
    // metadataSources.add(new LinkMetadataSource());
    metadataSources.add(new ItemLinksMetadataSource());
    metadataSources.add(new LinkV2MetadataSource());
    metadataSources.add(new CollectionWrapperMetadataSource());
    return metadataSources;
}
Also used : ReportQueryResultCollectionMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultCollectionMetadataSource) CollectionWrapperMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.CollectionWrapperMetadataSource) ReadAllQueryResultCollectionMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReadAllQueryResultCollectionMetadataSource) ItemLinksMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ItemLinksMetadataSource) ArrayList(java.util.ArrayList) LinkV2MetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.LinkV2MetadataSource) SingleResultQueryListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryListMetadataSource) ReadAllQueryResultCollectionMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReadAllQueryResultCollectionMetadataSource) JavaMathMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaMathMetadataSource) ReportQueryResultListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListMetadataSource) ErrorResponseMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource) MetadataSource(org.eclipse.persistence.jaxb.metadata.MetadataSource) ReportQueryResultListItemMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListItemMetadataSource) JavaUtilMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaUtilMetadataSource) CollectionWrapperMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.CollectionWrapperMetadataSource) SimpleHomogeneousListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SimpleHomogeneousListMetadataSource) DynamicXmlV2MetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXmlV2MetadataSource) ReportQueryResultCollectionMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultCollectionMetadataSource) JavaLangMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaLangMetadataSource) ItemLinksMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ItemLinksMetadataSource) SingleResultQueryResultMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource) ReportQueryResultListItemMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListItemMetadataSource) JavaMathMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaMathMetadataSource) ReportQueryResultListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListMetadataSource) JavaLangMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaLangMetadataSource) JavaUtilMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.JavaUtilMetadataSource) SingleResultQueryResultMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource) SingleResultQueryListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryListMetadataSource) SimpleHomogeneousListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SimpleHomogeneousListMetadataSource) ErrorResponseMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource) LinkV2MetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.LinkV2MetadataSource)

Aggregations

ArrayList (java.util.ArrayList)1 MetadataSource (org.eclipse.persistence.jaxb.metadata.MetadataSource)1 CollectionWrapperMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.CollectionWrapperMetadataSource)1 DynamicXmlV2MetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXmlV2MetadataSource)1 ErrorResponseMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource)1 ItemLinksMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ItemLinksMetadataSource)1 JavaLangMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaLangMetadataSource)1 JavaMathMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaMathMetadataSource)1 JavaUtilMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaUtilMetadataSource)1 LinkV2MetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.LinkV2MetadataSource)1 ReadAllQueryResultCollectionMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReadAllQueryResultCollectionMetadataSource)1 ReportQueryResultCollectionMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultCollectionMetadataSource)1 ReportQueryResultListItemMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListItemMetadataSource)1 ReportQueryResultListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListMetadataSource)1 SimpleHomogeneousListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SimpleHomogeneousListMetadataSource)1 SingleResultQueryListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryListMetadataSource)1 SingleResultQueryResultMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource)1