/** @return An Iterator of ModuleCREFs without attempting lazy resolution (if it's turned on). */ @SuppressWarnings("unchecked") // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:990) public Iterator<ModuleCREF> getDependsOnModuleCREFs() { DmcTypeModuleCREFMV attr = (DmcTypeModuleCREFMV) get(DsdCDMSAG.__dependsOnModuleC); if (attr == null) return (((List<ModuleCREF>) Collections.EMPTY_LIST).iterator()); return (attr.getMV()); }
/** @return An Iterator of ModuleCDMO objects. */ @SuppressWarnings("unchecked") // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:970) public Iterator<ModuleCREF> getDependsOnModuleC() { DmcTypeModuleCREFMV attr = (DmcTypeModuleCREFMV) get(DsdCDMSAG.__dependsOnModuleC); if (attr == null) return (((List<ModuleCREF>) Collections.EMPTY_LIST).iterator()); if (DmcOmni.instance().lazyResolution()) { if (attr.doLazyResolution(this)) { rem(attr.getAttributeInfo()); return (((List<ModuleCREF>) Collections.EMPTY_LIST).iterator()); } } return (attr.getMV()); }