public class ResultRecord extends BaseItem implements Serializable
ResultRecord
represents the element of ann XML Result RecordModifier and Type | Field and Description |
---|---|
protected String |
collection |
protected String |
collectionName |
protected String |
creator |
protected String |
date |
protected String |
docId |
protected int |
length |
protected String |
rank |
protected String |
title |
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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) |
getContent, getFileName, getId, getLabel, getMetadata, getMimeType, getType, setContent, setFileName, setId, setLabel, setMetadata, setMimeType, setType
protected String docId
protected String title
protected String creator
protected String date
protected String collection
protected String collectionName
protected String rank
protected int length
public ResultRecord()
public ResultRecord(String docId, String title, String type, String creator, String date, String collection, String metadata, String content, String rank)
docId
- dtitle
- dtype
- dcreator
- ddate
- dcollection
- dmetadata
- dcontent
- drank
- rpublic String getDocId()
public String getTitle()
public String getCreator()
public String getDate()
public String getCollection()
public String getRank()
public void setDocId(String s)
s
- spublic void setTitle(String s)
s
- spublic void setCreator(String s)
s
- spublic void setDate(String s)
s
- spublic void setCollection(String s)
s
- spublic void setRank(String s)
s
- spublic String getCollectionName()
public void setCollectionName(String collectionName)
collectionName
- cpublic int getLength()
public void setLength(int length)
length
- lenpublic void setLength(String length)
length
- lenCopyright © 2014. All Rights Reserved.