コード例 #1
0
  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;
  }
コード例 #2
0
 public void add(AcEdiUpuResdit11ReceptacleList x) {
   _receptacleLists.add(x);
 }