コード例 #1
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2557)
  public Iterator<String> getDescriptionWithNewlines() {
    DmcTypeStringMV attr = (DmcTypeStringMV) get(MetaDMSAG.__description);
    if (attr == null) return (null);

    DmcTypeStringMV withNewLines = new DmcTypeStringMV();
    Iterator<String> it = attr.getMV();
    while (it.hasNext()) {
      try {
        withNewLines.add(it.next().replaceAll("\\\\n", "\\\n"));
      } catch (DmcValueException e) {
        e.printStackTrace();
      }
    }

    return (withNewLines.getMV());
  }
コード例 #2
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2542)
  public Iterator<String> getTags() {
    DmcTypeStringMV attr = (DmcTypeStringMV) get(MetaDMSAG.__tags);
    if (attr == null) return (null);

    return (attr.getMV());
  }
コード例 #3
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2542)
  public Iterator<String> getQuestion() {
    DmcTypeStringMV attr = (DmcTypeStringMV) get(MetaDMSAG.__question);
    if (attr == null) return (null);

    return (attr.getMV());
  }
コード例 #4
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2542)
  public Iterator<String> getOptimize() {
    DmcTypeStringMV attr = (DmcTypeStringMV) get(MetaDMSAG.__optimize);
    if (attr == null) return (null);

    return (attr.getMV());
  }
コード例 #5
0
  // org.dmd.dms.meta.MetaGenerator.dumpMVAccessFunction(MetaGenerator.java:2542)
  public Iterator<String> getComment() {
    DmcTypeStringMV attr = (DmcTypeStringMV) get(MetaDMSAG.__comment);
    if (attr == null) return (null);

    return (attr.getMV());
  }