Ignore:
Timestamp:
2001-03-09T14:33:06+13:00 (23 years ago)
Author:
say1
Message:

Added Model initialisation to CSModel. Fixed the bug where empty collections appear. Fixed the exception thrown on an empty doc set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/service/NzdlCollectionInfo.java

    r2098 r2145  
    4848  }
    4949
     50  public String toString() {
     51    StringBuffer buf = new  StringBuffer(1000);
     52    buf.append("coll name=\"").append(getName());
     53    buf.append("\" isPublic=").append(isPublic());
     54    buf.append(" isBeta=").append(isBeta());
     55    buf.append(" buildDate=").append(getBuildDate());
     56    buf.append(" numOfDocs=").append(getNumOfDocs());
     57    buf.append(" numOfWords=").append(getNumOfWords());
     58    buf.append(" numOfBytes=").append(getNumOfBytes());
     59    return buf.toString();
     60  }
     61
    5062  /** */
    5163  public void print() {
     
    5870
    5971}
     72
     73
     74
     75
     76
     77
     78
     79
Note: See TracChangeset for help on using the changeset viewer.