Ignore:
Timestamp:
2001-04-04T22:44:38+12:00 (23 years ago)
Author:
daven
Message:

turned on the BerryBasket. Try right-clicking on a result in the results List
to add one - no delete yet. Re-sizing maybe improved as well - no
guarantees yet though.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-client/org/nzdl/gsdl/SimpleGraphicalClient/Berry.java

    r2225 r2281  
    2020
    2121
    22 public class Berry extends Object
    23 {
    24        private String berryTitle;
    25        //private QueryID
    26        //time stamp
    27        // person added
     22import java.util.*;
    2823
     24public class Berry extends Object {
     25
     26    private String berryTitle;
     27    // private Person person;
     28    private QueryHistoryItem queryHistoryItem;
     29    private Date dateAdded;
     30    private String collectionName; //unique collection ID across world?!?
     31    private String documentID;
     32     
    2933         
    30    public Berry( String newBerryTitle)
    31          {   
    32          berryTitle = newBerryTitle;
    33          }
    34 
    35    public String toString ()
    36          {
    37          return( berryTitle);
    38          }
     34    public Berry(QueryHistoryItem newQueryHistoryItem, String newDocumentID, String newCollectionName, String newBerryTitle) { 
     35    // need to add Person to argument list
     36    queryHistoryItem = newQueryHistoryItem;
     37    documentID = newDocumentID;
     38    collectionName = newCollectionName;
     39    berryTitle = newBerryTitle; // for the moment!
     40    dateAdded = new Date();
     41    }
    3942
    4043
    41 } //end Berry class
     44    public Date getDateAdded() {
     45    return dateAdded;
     46    }
     47
     48
     49    public String toString () {
     50    return( berryTitle);
     51    }
     52
     53
     54} // Berry class
Note: See TracChangeset for help on using the changeset viewer.