@Test public void testDefaultSpis() { Spis spis = NsesssUtils.defaultSpis(); assertNotNull(spis); assertEquals("ERMS", spis.getEvidencniUdaje().getEvidence().getNazevEvidenceDokumentu()); assertEquals(TZpusobVyrizeni.VYŘÍZENÍ_DOKUMENTEM, spis.getEvidencniUdaje().getVyrizeniUzavreni().getZpusob()); assertEquals("Vyplývá ze spisového plánu organizace", spis.getEvidencniUdaje().getVyrazovani().getSkartacniRezim().getOduvodneni()); assertEquals("Uzavření spisu", spis.getEvidencniUdaje().getVyrazovani().getSkartacniRezim().getSpousteciUdalost()); assertEquals(TLogicky.ANO, spis.getEvidencniUdaje().getManipulace().getAnalogovyDokument().ANO); }
public static Spis defaultSpis() { URL template = NsesssUtils.class.getResource("model_desFolder_default.xml"); Spis spis = unmarshal(template, Spis.class); return spis; }
NsesssUtils { public static Spis defaultSpis() { URL template = NsesssUtils.class.getResource("model_desFolder_default.xml"); Spis spis = unmarshal(template, Spis.class); return spis; } }
NsesssUtils { public static Spis defaultSpis() { URL template = NsesssUtils.class.getResource("model_desFolder_default.xml"); Spis spis = unmarshal(template, Spis.class); return spis; }  }
NsesssUtils { public static Spis defaultSpis() { URL template = NsesssUtils.class.getResource("model_desFolder_default.xml"); Spis spis = unmarshal(template, Spis.class); return spis; }  static JAXBContext defaultJaxbContext(); static Marshaller defaultMarshaller(boolean indent); static Unmarshaller defaultUnmarshaller(); static String toXml(Object object, boolean indent); static void marshal(Result target, Object object, boolean indent); static T unmarshal(String source, Class<T> type); static T unmarshal(URL source, Class<T> type); static T unmarshal(Source source, Class<T> type); static Spis defaultSpis(); static Dokument defaultInternalDokument(); static Dokument defaultExternalDocument(); }
NsesssUtils { public static Spis defaultSpis() { URL template = NsesssUtils.class.getResource("model_desFolder_default.xml"); Spis spis = unmarshal(template, Spis.class); return spis; }  static JAXBContext defaultJaxbContext(); static Marshaller defaultMarshaller(boolean indent); static Unmarshaller defaultUnmarshaller(); static String toXml(Object object, boolean indent); static void marshal(Result target, Object object, boolean indent); static T unmarshal(String source, Class<T> type); static T unmarshal(URL source, Class<T> type); static T unmarshal(Source source, Class<T> type); static Spis defaultSpis(); static Dokument defaultInternalDokument(); static Dokument defaultExternalDocument();  }