|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.ucsb.adl.middleware.Result
A query result, i.e., a collection item represented as a triplet of standard metadata views.
$Log: Result.java,v $
Revision 1.3 2004/03/15 20:13:25 gjanee
Bug fix: forgot to make class CompressedViewHolder
serializable as well.
Revision 1.2 2004/03/15 17:05:04 gjanee
Added compression of individual metadata views. Added methods
compress, uncompress, and
getLastAccessTime.
Revision 1.1 2003/06/05 22:04:29 gjanee
Initial revision
| Constructor Summary | |
Result(java.lang.String collection,
java.lang.String identifier,
java.lang.String accessView,
java.lang.String browseView,
java.lang.String bucketView)
Creates a Result. |
|
| Method Summary | |
void |
compress()
Compresses the result. |
java.lang.String |
getAccessView()
Returns the item's ADL access view. |
java.lang.String |
getBrowseView()
Returns the item's ADL browse view. |
java.lang.String |
getBucketView()
Returns the item's ADL bucket view. |
java.lang.String |
getCollection()
Returns the item's collection. |
java.lang.String |
getIdentifier()
Returns the item's collection-local identifier. |
long |
getLastAccessTime()
Returns the last time a metadata view was requested from this result. |
void |
uncompress()
Uncompresses the result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Result(java.lang.String collection,
java.lang.String identifier,
java.lang.String accessView,
java.lang.String browseView,
java.lang.String bucketView)
Result.
collection - The item's collection, e.g., "adl_catalog".identifier - The item's collection-local identifier, e.g.,
"1001652".accessView - The item's ADL access view.browseView - The item's ADL browse view.bucketView - The item's ADL bucket view.
java.lang.NullPointerException - If any argument is null.| Method Detail |
public java.lang.String getCollection()
adl_catalog".public java.lang.String getIdentifier()
1001652".public java.lang.String getAccessView()
public java.lang.String getBrowseView()
public java.lang.String getBucketView()
public long getLastAccessTime()
System.currentTimeMillis, or 0 if the result has
never been accessed.public void compress()
public void uncompress()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||