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); }
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 boolean hasContainerNumber(String number) { return JwUtility.isEqual(_containerNumber, number); }
public boolean hasContainerNumber() { return JwUtility.hasValue(_containerNumber); }
public boolean hasJourneyId(String number) { return JwUtility.isEqual(_journeyId, number); }
public boolean hasJourneyId() { return JwUtility.hasValue(_journeyId); }
public void format(JwIndentWriter w) throws IOException { w.write(JwUtility.format("Receptacle List Count: %s\n", _receptacleLists.size())); formatReceptacleLists(w); }