Package com.coherentlogic.wb.client.core.domain

Examples of com.coherentlogic.wb.client.core.domain.Source


        result.setId(DataPointCountryDAOTest.ID);

        result.setIndicatorTopics(createIndicatorTopics());
        result.setName(NAME);

        Source source = IdValuePairTestHelper.create(Source.class);

        result.setSource(source);
        result.setSourceNote(SOURCE_NOTE);
        result.setSourceOrganization(SOURCE_ORGANISATION);
View Full Code Here


        Indicator firstIndicator = indicatorList.get(0);

        assertEquals ("NY.GDP.MKTP.CD", firstIndicator.getId());
        assertEquals ("GDP (current US$)", firstIndicator.getName());

        Source source = firstIndicator.getSource();

        reviewIdValuePair(
            "2",
            "World Development Indicators",
            source
View Full Code Here

        assertEquals ("EG.GDP.PUSE.KO.PP.KD", firstIndicator.getId());
        assertEquals ("GDP per unit of energy use (constant 2011 PPP $ per " +
            "kg of oil equivalent)", firstIndicator.getName());

        Source source = firstIndicator.getSource();

        reviewIdValuePair(
            "2",
            "World Development Indicators",
            source
View Full Code Here

    @Override
    public Object unmarshal(
        HierarchicalStreamReader reader,
        UnmarshallingContext context
    ) {
        Source source = new Source ();

        String id = reader.getAttribute(ID);

        source.setId(id);

        String value = reader.getValue();

        source.setValue(value);

        return source;
    }
View Full Code Here

    public Object unmarshal(
        HierarchicalStreamReader reader,
        UnmarshallingContext context
    ) {

        Source source = new Source ();

        String id = reader.getAttribute(ID);

        source.setId(id);

        String value = reader.getValue();

        source.setValue(value);

        return source;
    }
View Full Code Here

TOP

Related Classes of com.coherentlogic.wb.client.core.domain.Source

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.