コード例 #1
0
  // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1424)
  @SuppressWarnings("unchecked")
  public Iterator<ObjWithRefsREF> getObjRefHMREFs() {
    DmcTypeObjWithRefsREFMAP attr = (DmcTypeObjWithRefsREFMAP) get(DmtDMSAG.__objRefHM);
    if (attr == null) return (((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator());

    return (attr.getMV());
  }
コード例 #2
0
  // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1393)
  @SuppressWarnings("unchecked")
  // org.dmd.dms.util.GenUtility.formatMAPPED(GenUtility.java:1405)
  public Iterator<ObjWithRefsREF> getObjRefHM() {
    DmcTypeObjWithRefsREFMAP attr = (DmcTypeObjWithRefsREFMAP) get(DmtDMSAG.__objRefHM);
    if (attr == null) return (((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator());

    if (DmcOmni.instance().lazyResolution()) {
      if (attr.doLazyResolution(this)) {
        rem(attr.getAttributeInfo());
        return (((List<ObjWithRefsREF>) Collections.EMPTY_LIST).iterator());
      }
    }

    return (attr.getMV());
  }