Package jodd.json.model.cat

Examples of jodd.json.model.cat.Event


    Map<Long, Event> events = catalog.getEvents();
    assertNotNull(events);
    assertEquals(184, events.size());

    Event event = events.get(Long.valueOf(138586341));
    assertNotNull(event);
    assertNull(event.getDescription());
    assertEquals(138586341, event.getId().longValue());
    assertNull(event.getLogo());
    assertEquals("30th Anniversary Tour", event.getName());
    Long[] subTopicIds = event.getSubTopicIds();
    assertEquals(2, subTopicIds.length);
    assertEquals(337184269, subTopicIds[0].longValue());
    assertEquals(337184283, subTopicIds[1].longValue());
    assertNull(event.getSubjectCode());
    assertNull(event.getSubtitle());
    Long[] topicIds = event.getTopicIds();
    assertEquals(2, topicIds.length);
    assertEquals(324846099, topicIds[0].longValue());
    assertEquals(107888604, topicIds[1].longValue());

    // performances
View Full Code Here

TOP

Related Classes of jodd.json.model.cat.Event

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.