org.wso2.carbon.registry.core.jdbc.dataobjects
Class RatingDO

java.lang.Object
  extended by org.wso2.carbon.registry.core.jdbc.dataobjects.RatingDO

public class RatingDO
extends Object

The data object maps with a rating


Constructor Summary
RatingDO()
           
 
Method Summary
 Date getRatedTime()
          Method to get the rated time.
 String getRatedUserName()
          Method to get the rated user name.
 int getRating()
          Method to get the rating value.
 int getRatingID()
          Method to get rating id.
 String getResourcePath()
          Method to get the rated resource path.
 void setRatedTime(Date ratedTime)
          Method to set the rated time.
 void setRatedUserName(String ratedUserName)
          Method to set the rated user name.
 void setRating(int rating)
          Method to set the rating value.
 void setRatingID(int ratingID)
          Method to set the rating id.
 void setResourcePath(String resourcePath)
          Method to set the rate resource path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatingDO

public RatingDO()
Method Detail

getResourcePath

public String getResourcePath()
Method to get the rated resource path.

Returns:
the path

setResourcePath

public void setResourcePath(String resourcePath)
Method to set the rate resource path.

Parameters:
resourcePath - the path to be set

getRatedUserName

public String getRatedUserName()
Method to get the rated user name.

Returns:
the rated user name.

setRatedUserName

public void setRatedUserName(String ratedUserName)
Method to set the rated user name.

Parameters:
ratedUserName - the rated user name to be set.

getRatedTime

public Date getRatedTime()
Method to get the rated time.

Returns:
the rated time.

setRatedTime

public void setRatedTime(Date ratedTime)
Method to set the rated time.

Parameters:
ratedTime - the rated time to be set.

getRating

public int getRating()
Method to get the rating value.

Returns:
the rating value.

setRating

public void setRating(int rating)
Method to set the rating value.

Parameters:
rating - the value to be set.

getRatingID

public int getRatingID()
Method to get rating id.

Returns:
return the rating id.

setRatingID

public void setRatingID(int ratingID)
Method to set the rating id.

Parameters:
ratingID - the value to be set.


Copyright © 2012 WSO2 Inc. All Rights Reserved.