| RatingsStatsModel.java |
1 /**
2 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3 *
4 * The contents of this file are subject to the terms of the Liferay Enterprise
5 * Subscription License ("License"). You may not use this file except in
6 * compliance with the License. You can obtain a copy of the License by
7 * contacting Liferay, Inc. See the License for the specific language governing
8 * permissions and limitations under the License, including but not limited to
9 * distribution rights of the Software.
10 *
11 *
12 *
13 */
14
15 package com.liferay.portlet.ratings.model;
16
17 import com.liferay.portal.model.BaseModel;
18
19 import java.io.Serializable;
20
21 /**
22 * <a href="RatingsStatsModel.java.html"><b><i>View Source</i></b></a>
23 *
24 * <p>
25 * ServiceBuilder generated this class. Modifications in this class will be
26 * overwritten the next time is generated.
27 * </p>
28 *
29 * <p>
30 * This interface is a model that represents the RatingsStats table in the
31 * database.
32 * </p>
33 *
34 * @author Brian Wing Shun Chan
35 * @see RatingsStats
36 * @see com.liferay.portlet.ratings.model.impl.RatingsStatsImpl
37 * @see com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
38 * @generated
39 */
40 public interface RatingsStatsModel extends BaseModel<RatingsStats> {
41 public long getPrimaryKey();
42
43 public void setPrimaryKey(long pk);
44
45 public long getStatsId();
46
47 public void setStatsId(long statsId);
48
49 public String getClassName();
50
51 public long getClassNameId();
52
53 public void setClassNameId(long classNameId);
54
55 public long getClassPK();
56
57 public void setClassPK(long classPK);
58
59 public int getTotalEntries();
60
61 public void setTotalEntries(int totalEntries);
62
63 public double getTotalScore();
64
65 public void setTotalScore(double totalScore);
66
67 public double getAverageScore();
68
69 public void setAverageScore(double averageScore);
70
71 public RatingsStats toEscapedModel();
72
73 public boolean isNew();
74
75 public boolean setNew(boolean n);
76
77 public boolean isCachedModel();
78
79 public void setCachedModel(boolean cachedModel);
80
81 public boolean isEscapedModel();
82
83 public void setEscapedModel(boolean escapedModel);
84
85 public Serializable getPrimaryKeyObj();
86
87 public Object clone();
88
89 public int compareTo(RatingsStats ratingsStats);
90
91 public int hashCode();
92
93 public String toString();
94
95 public String toXmlString();
96 }