/** @return An Iterator of ModuleBREFs without attempting lazy resolution (if it's turned on). */ @SuppressWarnings("unchecked") // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:990) public Iterator<ModuleBREF> getDependsOnModuleBREFs() { DmcTypeModuleBREFMV attr = (DmcTypeModuleBREFMV) get(DsdBDMSAG.__dependsOnModuleB); if (attr == null) return (((List<ModuleBREF>) Collections.EMPTY_LIST).iterator()); return (attr.getMV()); }
/** @return An Iterator of ModuleBDMO objects. */ @SuppressWarnings("unchecked") // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:970) public Iterator<ModuleBREF> getDependsOnModuleB() { DmcTypeModuleBREFMV attr = (DmcTypeModuleBREFMV) get(DsdBDMSAG.__dependsOnModuleB); if (attr == null) return (((List<ModuleBREF>) Collections.EMPTY_LIST).iterator()); if (DmcOmni.instance().lazyResolution()) { if (attr.doLazyResolution(this)) { rem(attr.getAttributeInfo()); return (((List<ModuleBREF>) Collections.EMPTY_LIST).iterator()); } } return (attr.getMV()); }