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); }
public PM_Segment getPM_Segment(InstNumber in) { return segments.get(in.getValue()); }