@Test public void testWbFromDMNWhenDMNIsNull() { final InformationItem dmn = null; final InformationItemPrimary informationItemPrimary = InformationItemPrimaryPropertyConverter.wbFromDMN(dmn, dmn); assertNull(informationItemPrimary); }
public static InformationItemPrimary wbFromDMN(final InformationItem dmn, final org.kie.dmn.model.api.DMNModelInstrumentedBase parent) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(getParentName(parent)); final QName typeRef = QNamePropertyConverter.wbFromDMN(dmn.getTypeRef(), dmn); return new InformationItemPrimary(id, name, typeRef); }
InformationItemPrimaryPropertyConverter { public static InformationItemPrimary wbFromDMN(final InformationItem dmn, final org.kie.dmn.model.api.DMNModelInstrumentedBase parent) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(getParentName(parent)); final QName typeRef = QNamePropertyConverter.wbFromDMN(dmn.getTypeRef(), dmn); return new InformationItemPrimary(id, name, typeRef); } }
InformationItemPrimaryPropertyConverter { public static InformationItemPrimary wbFromDMN(final InformationItem dmn, final org.kie.dmn.model.api.DMNModelInstrumentedBase parent) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(getParentName(parent)); final QName typeRef = QNamePropertyConverter.wbFromDMN(dmn.getTypeRef(), dmn); return new InformationItemPrimary(id, name, typeRef); }  }
InformationItemPrimaryPropertyConverter { public static InformationItemPrimary wbFromDMN(final InformationItem dmn, final org.kie.dmn.model.api.DMNModelInstrumentedBase parent) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(getParentName(parent)); final QName typeRef = QNamePropertyConverter.wbFromDMN(dmn.getTypeRef(), dmn); return new InformationItemPrimary(id, name, typeRef); }  static InformationItemPrimary wbFromDMN(final InformationItem dmn,
                                                   final org.kie.dmn.model.api.DMNModelInstrumentedBase parent); static TInformationItem dmnFromWB(final InformationItemPrimary wb,
                                             final DMNModelInstrumentedBase parent); }
InformationItemPrimaryPropertyConverter { public static InformationItemPrimary wbFromDMN(final InformationItem dmn, final org.kie.dmn.model.api.DMNModelInstrumentedBase parent) { if (dmn == null) { return null; } final Id id = new Id(dmn.getId()); final Name name = new Name(getParentName(parent)); final QName typeRef = QNamePropertyConverter.wbFromDMN(dmn.getTypeRef(), dmn); return new InformationItemPrimary(id, name, typeRef); }  static InformationItemPrimary wbFromDMN(final InformationItem dmn,
                                                   final org.kie.dmn.model.api.DMNModelInstrumentedBase parent); static TInformationItem dmnFromWB(final InformationItemPrimary wb,
                                             final DMNModelInstrumentedBase parent);  }