private AcEdiUpuResdit11ReceptacleList _createReceptacleList() { if (_receptacleLists.size() >= MAX_RECEPTACLE_LISTS) JwUtility.error( "Attempted to create %s when already at capacity. Max capacity %s", JwUtility.formatShortClassName(AcEdiUpuResdit11ReceptacleList.class), MAX_RECEPTACLE_LISTS); AcEdiUpuResdit11ReceptacleList x = new AcEdiUpuResdit11ReceptacleList(); _receptacleLists.add(x); return x; }
public void format(JwIndentWriter w) throws IOException { w.write( JwUtility.format( " Receptacle Scan Type: %s\n", _scanType != null ? _scanType.toString() : null)); w.write(JwUtility.format("Receptacle Container Number: %s\n", _containerNumber)); w.write(JwUtility.format(" Receptacle List Count: %s\n", _receptacleLists.size())); formatReceptacleLists(w); }
public boolean composeSg5(AcEdiSegmentAbstract segment, JwList<AcEdiSegmentAbstract> segments) { AcEdiUpuResdit10Sg5Model sg5Model = new AcEdiUpuResdit10Sg5Model(); sg5Model.compose(segment, segments); _sg5Models.add(sg5Model); return true; }
public boolean hasCapacityForTag() { if (_receptacleLists.size() < MAX_RECEPTACLE_LISTS) return true; else if (_receptacleLists.size() == MAX_RECEPTACLE_LISTS) return _activeListHasCapacity(); return false; }
public AcEdiUpuResdit11ReceptacleList get(int arg0) { return _receptacleLists.get(arg0); }
public void add(AcEdiUpuResdit11ReceptacleList x) { _receptacleLists.add(x); }
public int getEstimatedSegmentCount() { return SEGMENT_COUNT + _receptacleLists.size(); }
public void format(JwIndentWriter w) throws IOException { w.write(JwUtility.format("Receptacle List Count: %s\n", _receptacleLists.size())); formatReceptacleLists(w); }