org.gcube.portlets.user.collectionexplorer.shared
Class ResultRecord
java.lang.Object
org.gcube.portlets.user.collectionexplorer.shared.BaseItem
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
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 |
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
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
- dtitle
- dtype
- dcreator
- ddate
- dcollection
- dmetadata
- dcontent
- drank
- r
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.