org.gcube.portlets.user.collectionexplorer.shared
Class ResultRecord

java.lang.Object
  extended by org.gcube.portlets.user.collectionexplorer.shared.BaseItem
      extended by org.gcube.portlets.user.collectionexplorer.shared.ResultRecord
All Implemented Interfaces:
Serializable

public class ResultRecord
extends BaseItem
implements Serializable

The ResultRecord represents the element of ann XML Result Record

Version:
march 2007 (1.0)
Author:
massimiliano.assante@isti.cnr.it
See Also:
Serialized Form

Field Summary
protected  String collection
           
protected  String collectionName
           
protected  String creator
           
protected  String date
           
protected  String docId
           
protected  int length
           
protected  String rank
           
protected  String title
           
 
Fields inherited from class org.gcube.portlets.user.collectionexplorer.shared.BaseItem
content, fileName, id, label, metadata, mimeType, type
 
Constructor Summary
ResultRecord()
          the Default Constuctor is needed for the serialization
ResultRecord(String docId, String title, String type, String creator, String date, String collection, String metadata, String content, String rank)
          Constructs a ResultRecord Object from a parsed XML RSRecord
 
Method Summary
 String getCollection()
           
 String getCollectionName()
           
 String getCreator()
           
 String getDate()
           
 String getDocId()
           
 int getLength()
           
 String getRank()
           
 String getTitle()
           
 void setCollection(String s)
           
 void setCollectionName(String collectionName)
           
 void setCreator(String s)
           
 void setDate(String s)
           
 void setDocId(String s)
           
 void setLength(int length)
           
 void setLength(String length)
           
 void setRank(String s)
           
 void setTitle(String s)
           
 
Methods inherited from class org.gcube.portlets.user.collectionexplorer.shared.BaseItem
getContent, getFileName, getId, getLabel, getMetadata, getMimeType, getType, setContent, setFileName, setId, setLabel, setMetadata, setMimeType, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docId

protected String docId

title

protected String title

creator

protected String creator

date

protected String date

collection

protected String collection

collectionName

protected String collectionName

rank

protected String rank

length

protected int length
Constructor Detail

ResultRecord

public ResultRecord()
the Default Constuctor is needed for the serialization


ResultRecord

public ResultRecord(String docId,
                    String title,
                    String type,
                    String creator,
                    String date,
                    String collection,
                    String metadata,
                    String content,
                    String rank)
Constructs a ResultRecord Object from a parsed XML RSRecord

Parameters:
docId - d
title - d
type - d
creator - d
date - d
collection - d
metadata - d
content - d
rank - r
Method Detail

getDocId

public String getDocId()
Returns:
docId

getTitle

public String getTitle()
Returns:
title

getCreator

public String getCreator()
Returns:
creator

getDate

public String getDate()
Returns:
date

getCollection

public String getCollection()
Returns:
collection

getRank

public String getRank()
Returns:
rank

setDocId

public void setDocId(String s)
Parameters:
s - s

setTitle

public void setTitle(String s)
Parameters:
s - s

setCreator

public void setCreator(String s)
Parameters:
s - s

setDate

public void setDate(String s)
Parameters:
s - s

setCollection

public void setCollection(String s)
Parameters:
s - s

setRank

public void setRank(String s)
Parameters:
s - s

getCollectionName

public String getCollectionName()
Returns:
c

setCollectionName

public void setCollectionName(String collectionName)
Parameters:
collectionName - c

getLength

public int getLength()
Returns:
len

setLength

public void setLength(int length)
Parameters:
length - len

setLength

public void setLength(String length)
Parameters:
length - len


Copyright © 2014. All Rights Reserved.