@Test public void testWbFromDMNWhenDMNIsNull() { assertNull(wbFromDMN(null)); }
public static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(dmn.getName()); final Description description = wbDescriptionFromDMN(dmn); final QName typeRef = wbTypeRefFromDMN(dmn); final String typeLanguage = dmn.getTypeLanguage(); final boolean isCollection = dmn.isIsCollection(); final ItemDefinition wb = new ItemDefinition(id, description, name, typeRef, null, null, typeLanguage, isCollection, false); setUnaryTests(wb, dmn); setItemComponent(wb, dmn); return wb; }
ItemDefinitionPropertyConverter { public static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(dmn.getName()); final Description description = wbDescriptionFromDMN(dmn); final QName typeRef = wbTypeRefFromDMN(dmn); final String typeLanguage = dmn.getTypeLanguage(); final boolean isCollection = dmn.isIsCollection(); final ItemDefinition wb = new ItemDefinition(id, description, name, typeRef, null, null, typeLanguage, isCollection, false); setUnaryTests(wb, dmn); setItemComponent(wb, dmn); return wb; } }
ItemDefinitionPropertyConverter { public static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(dmn.getName()); final Description description = wbDescriptionFromDMN(dmn); final QName typeRef = wbTypeRefFromDMN(dmn); final String typeLanguage = dmn.getTypeLanguage(); final boolean isCollection = dmn.isIsCollection(); final ItemDefinition wb = new ItemDefinition(id, description, name, typeRef, null, null, typeLanguage, isCollection, false); setUnaryTests(wb, dmn); setItemComponent(wb, dmn); return wb; }  }
ItemDefinitionPropertyConverter { public static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(dmn.getName()); final Description description = wbDescriptionFromDMN(dmn); final QName typeRef = wbTypeRefFromDMN(dmn); final String typeLanguage = dmn.getTypeLanguage(); final boolean isCollection = dmn.isIsCollection(); final ItemDefinition wb = new ItemDefinition(id, description, name, typeRef, null, null, typeLanguage, isCollection, false); setUnaryTests(wb, dmn); setItemComponent(wb, dmn); return wb; }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb); }
ItemDefinitionPropertyConverter { public static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(dmn.getName()); final Description description = wbDescriptionFromDMN(dmn); final QName typeRef = wbTypeRefFromDMN(dmn); final String typeLanguage = dmn.getTypeLanguage(); final boolean isCollection = dmn.isIsCollection(); final ItemDefinition wb = new ItemDefinition(id, description, name, typeRef, null, null, typeLanguage, isCollection, false); setUnaryTests(wb, dmn); setItemComponent(wb, dmn); return wb; }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb);  }