コード例 #1
0
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1124)
  public LabelledFaultReference getNthOutfault(int i) {
    DmcTypeLabelledFaultReferenceMV attr =
        (DmcTypeLabelledFaultReferenceMV) get(DmwsdlDMSAG.__outfault);
    if (attr == null) return (null);

    return (attr.getMVnth(i));
  }
コード例 #2
0
  /** @return An Iterator of LabelledFaultReference objects. */
  @SuppressWarnings("unchecked")
  // org.dmd.dms.util.GenUtility.formatMV(GenUtility.java:1112)
  public Iterator<LabelledFaultReference> getOutfault() {
    DmcTypeLabelledFaultReferenceMV attr =
        (DmcTypeLabelledFaultReferenceMV) get(DmwsdlDMSAG.__outfault);
    if (attr == null) return (((List<LabelledFaultReference>) Collections.EMPTY_LIST).iterator());

    return (attr.getMV());
  }