Пример #1
0
  public void addPM_Segment(PM_Segment segment) {
    Attribute attr = segment.getAttribute(Nomenclature.MDC_ATTR_ID_INSTNO);
    if (attr == null) return;

    InstNumber in = (InstNumber) attr.getAttributeType();
    segments.put(in.getValue(), segment);
  }
Пример #2
0
 public PM_Segment getPM_Segment(InstNumber in) {
   return segments.get(in.getValue());
 }