@Test public void testDefaultInternalDokument() { Dokument result = NsesssUtils.defaultInternalDokument(); assertNotNull(result); assertEquals("ERMS", result.getEvidencniUdaje().getEvidence().getNazevEvidenceDokumentu()); assertEquals("Vyplývá ze spisového plánu organizace", result.getEvidencniUdaje().getVyrazovani().getSkartacniRezim().getOduvodneni()); assertEquals("Uzavření spisu", result.getEvidencniUdaje().getVyrazovani().getSkartacniRezim().getSpousteciUdalost()); assertEquals(TLogicky.ANO, result.getEvidencniUdaje().getManipulace().getAnalogovyDokument().ANO); System.out.println(NsesssUtils.toXml(result, true)); }
public static Dokument defaultInternalDokument() { URL template = NsesssUtils.class.getResource("model_desInternalRecord_default.xml"); Dokument d = unmarshal(template, Dokument.class); return d; }
NsesssUtils { public static Dokument defaultInternalDokument() { URL template = NsesssUtils.class.getResource("model_desInternalRecord_default.xml"); Dokument d = unmarshal(template, Dokument.class); return d; } }
NsesssUtils { public static Dokument defaultInternalDokument() { URL template = NsesssUtils.class.getResource("model_desInternalRecord_default.xml"); Dokument d = unmarshal(template, Dokument.class); return d; }  }
NsesssUtils { public static Dokument defaultInternalDokument() { URL template = NsesssUtils.class.getResource("model_desInternalRecord_default.xml"); Dokument d = unmarshal(template, Dokument.class); return d; }  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 Dokument defaultInternalDokument() { URL template = NsesssUtils.class.getResource("model_desInternalRecord_default.xml"); Dokument d = unmarshal(template, Dokument.class); return d; }  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();  }