org.gcube.portlets.user.results.client.model
Class ResultObj

java.lang.Object
  extended by org.gcube.portlets.user.results.client.model.ResultObj
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class ResultObj
extends Object
implements com.google.gwt.user.client.rpc.IsSerializable

Author:
Massimiliano Assante ISTI-CNR

Field Summary
protected  String currUserName
          The user who asked for results in the portal, needed to ask for the content
protected  String htmlText
          htmlText text
protected  String mimetype
          the mimetype of the object
protected  ObjectType objectType
          Object's type
protected  String objectURI
           
protected  String payload
           
protected  ResultRecord resultRec
          resultRec Record
protected  String title
           
 
Constructor Summary
ResultObj()
          constructor
ResultObj(String docURI, String currUserName, String title, ResultRecord resultRec, String htmlText, String mimetype, String collectionID, String rank, String collectionName, ObjectType objectType)
           
 
Method Summary
 String getCollectionID()
           
 String getCollectionName()
           
 String getCurrUserName()
           
 String getHtmlText()
           
 String getMimetype()
           
 ObjectType getObjectType()
           
 String getObjectURI()
           
 String getPayload()
           
 String getRank()
           
 String getTitle()
           
 void setCollectionID(String collectionID)
           
 void setCollectionName(String collectionName)
           
 void setCurrUserName(String currUserName)
           
 void setHtmlText(String htmlText)
           
 void setMimetype(String mimetype)
           
 void setObjectType(ObjectType objectType)
           
 void setObjectURI(String objectURI)
           
 void setPayload(String payload)
           
 void setRank(String rank)
           
 void setResultRec(ResultRecord resultRec)
           
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currUserName

protected String currUserName
The user who asked for results in the portal, needed to ask for the content


title

protected String title

objectURI

protected String objectURI

objectType

protected ObjectType objectType
Object's type


payload

protected String payload

resultRec

protected ResultRecord resultRec
resultRec Record


htmlText

protected String htmlText
htmlText text


mimetype

protected String mimetype
the mimetype of the object

Constructor Detail

ResultObj

public ResultObj()
constructor


ResultObj

public ResultObj(String docURI,
                 String currUserName,
                 String title,
                 ResultRecord resultRec,
                 String htmlText,
                 String mimetype,
                 String collectionID,
                 String rank,
                 String collectionName,
                 ObjectType objectType)
Parameters:
docURI -
currUserName -
title -
resultRec -
htmlText -
mimetype -
collectionID -
rank -
collectionName -
Method Detail

getObjectURI

public String getObjectURI()

setObjectURI

public void setObjectURI(String objectURI)

getObjectType

public ObjectType getObjectType()

setObjectType

public void setObjectType(ObjectType objectType)

getCollectionID

public String getCollectionID()

setCollectionID

public void setCollectionID(String collectionID)

getCurrUserName

public String getCurrUserName()

setCurrUserName

public void setCurrUserName(String currUserName)

getRank

public String getRank()

setRank

public void setRank(String rank)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getPayload

public String getPayload()

setPayload

public void setPayload(String payload)

getHtmlText

public String getHtmlText()
Returns:
htmlText

setHtmlText

public void setHtmlText(String htmlText)
Parameters:
htmlText - htmlText

setResultRec

public void setResultRec(ResultRecord resultRec)
Parameters:
resultRec - result Record

getMimetype

public String getMimetype()

setMimetype

public void setMimetype(String mimetype)

getCollectionName

public String getCollectionName()

setCollectionName

public void setCollectionName(String collectionName)


Copyright © 2013. All Rights Reserved.