@Test public void testWbChildFromDMNWhenWbChildIsNull() { final ItemDefinition expectedWbParent = new ItemDefinition(); final org.kie.dmn.model.api.ItemDefinition dmnChild = null; final ItemDefinition actualWbChild = wbChildFromDMN(expectedWbParent, dmnChild); assertNull(actualWbChild); }
static ItemDefinition wbChildFromDMN(final ItemDefinition wbParent, final org.kie.dmn.model.api.ItemDefinition dmnChild) { final ItemDefinition wbChild = wbFromDMN(dmnChild); if (wbChild != null) { wbChild.setParent(wbParent); } return wbChild; }
ItemDefinitionPropertyConverter { static ItemDefinition wbChildFromDMN(final ItemDefinition wbParent, final org.kie.dmn.model.api.ItemDefinition dmnChild) { final ItemDefinition wbChild = wbFromDMN(dmnChild); if (wbChild != null) { wbChild.setParent(wbParent); } return wbChild; } }
ItemDefinitionPropertyConverter { static ItemDefinition wbChildFromDMN(final ItemDefinition wbParent, final org.kie.dmn.model.api.ItemDefinition dmnChild) { final ItemDefinition wbChild = wbFromDMN(dmnChild); if (wbChild != null) { wbChild.setParent(wbParent); } return wbChild; }  }
ItemDefinitionPropertyConverter { static ItemDefinition wbChildFromDMN(final ItemDefinition wbParent, final org.kie.dmn.model.api.ItemDefinition dmnChild) { final ItemDefinition wbChild = wbFromDMN(dmnChild); if (wbChild != null) { wbChild.setParent(wbParent); } return wbChild; }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb); }
ItemDefinitionPropertyConverter { static ItemDefinition wbChildFromDMN(final ItemDefinition wbParent, final org.kie.dmn.model.api.ItemDefinition dmnChild) { final ItemDefinition wbChild = wbFromDMN(dmnChild); if (wbChild != null) { wbChild.setParent(wbParent); } return wbChild; }  static ItemDefinition wbFromDMN(final org.kie.dmn.model.api.ItemDefinition dmn); static org.kie.dmn.model.api.ItemDefinition dmnFromWB(final ItemDefinition wb);  }