Search in sources :

Example 1 with JavaLangMetadataSource

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

the class FeatureSetPreV2 method getMetadataSources.

@Override
public List<MetadataSource> getMetadataSources() {
    final List<MetadataSource> metadataSources = new ArrayList<>();
    metadataSources.add(new LinkMetadataSource());
    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 JavaLangMetadataSource());
    metadataSources.add(new JavaMathMetadataSource());
    metadataSources.add(new JavaUtilMetadataSource());
    metadataSources.add(new LinkV2MetadataSource());
    metadataSources.add(new ItemLinksMetadataSource());
    metadataSources.add(new ErrorResponseMetadataSource());
    return metadataSources;
}
Also used : LinkMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.LinkMetadataSource) ReportQueryResultCollectionMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultCollectionMetadataSource) 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) LinkMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.LinkMetadataSource) 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) DynamicXMLMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXMLMetadataSource) SimpleHomogeneousListMetadataSource(org.eclipse.persistence.jpa.rs.util.metadatasources.SimpleHomogeneousListMetadataSource) 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) 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) 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)

Example 2 with JavaLangMetadataSource

use of org.eclipse.persistence.jpa.rs.util.metadatasources.JavaLangMetadataSource 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)2 MetadataSource (org.eclipse.persistence.jaxb.metadata.MetadataSource)2 ErrorResponseMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource)2 ItemLinksMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ItemLinksMetadataSource)2 JavaLangMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaLangMetadataSource)2 JavaMathMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaMathMetadataSource)2 JavaUtilMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.JavaUtilMetadataSource)2 LinkV2MetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.LinkV2MetadataSource)2 ReadAllQueryResultCollectionMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReadAllQueryResultCollectionMetadataSource)2 ReportQueryResultCollectionMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultCollectionMetadataSource)2 ReportQueryResultListItemMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListItemMetadataSource)2 ReportQueryResultListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.ReportQueryResultListMetadataSource)2 SimpleHomogeneousListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SimpleHomogeneousListMetadataSource)2 SingleResultQueryListMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryListMetadataSource)2 CollectionWrapperMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.CollectionWrapperMetadataSource)1 DynamicXMLMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXMLMetadataSource)1 DynamicXmlV2MetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.DynamicXmlV2MetadataSource)1 LinkMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.LinkMetadataSource)1 SingleResultQueryResultMetadataSource (org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource)1