@Test public void testGetHasTypeRefs() { final List<HasTypeRef> actualHasTypeRefs = informationItemPrimary.getHasTypeRefs(); final List<HasTypeRef> expectedHasTypeRefs = singletonList(informationItemPrimary); assertEquals(expectedHasTypeRefs, actualHasTypeRefs); }
@Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); }
InformationItemPrimary extends DMNModelInstrumentedBase implements DMNPropertySet,
                                                                                IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } }
InformationItemPrimary extends DMNModelInstrumentedBase implements DMNPropertySet,
                                                                                IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItemPrimary();  InformationItemPrimary(final Id id,
                                  final Name name,
                                  final QName typeRef); }
InformationItemPrimary extends DMNModelInstrumentedBase implements DMNPropertySet,
                                                                                IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItemPrimary();  InformationItemPrimary(final Id id,
                                  final Name name,
                                  final QName typeRef); String getStunnerCategory(); Set<String> getStunnerLabels(); @Override Name getName(); @Override void setName(final Name name); @Override QName getTypeRef(); @Override void setTypeRef(final QName typeRef); @Override DMNModelInstrumentedBase asDMNModelInstrumentedBase(); @Override List<HasTypeRef> getHasTypeRefs(); QNameHolder getTypeRefHolder(); void setTypeRefHolder(final QNameHolder typeRefHolder); @Override String getDomainObjectUUID(); Id getId(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode(); }
InformationItemPrimary extends DMNModelInstrumentedBase implements DMNPropertySet,
                                                                                IsInformationItem { @Override public List<HasTypeRef> getHasTypeRefs() { return new ArrayList<>(singletonList(this)); } InformationItemPrimary();  InformationItemPrimary(final Id id,
                                  final Name name,
                                  final QName typeRef); String getStunnerCategory(); Set<String> getStunnerLabels(); @Override Name getName(); @Override void setName(final Name name); @Override QName getTypeRef(); @Override void setTypeRef(final QName typeRef); @Override DMNModelInstrumentedBase asDMNModelInstrumentedBase(); @Override List<HasTypeRef> getHasTypeRefs(); QNameHolder getTypeRefHolder(); void setTypeRefHolder(final QNameHolder typeRefHolder); @Override String getDomainObjectUUID(); Id getId(); @Override String getDomainObjectNameTranslationKey(); @Override boolean equals(final Object o); @Override int hashCode();  }