1
14
15 package com.liferay.portlet.polls.model;
16
17
18
34 public class PollsChoiceWrapper implements PollsChoice {
35 public PollsChoiceWrapper(PollsChoice pollsChoice) {
36 _pollsChoice = pollsChoice;
37 }
38
39 public long getPrimaryKey() {
40 return _pollsChoice.getPrimaryKey();
41 }
42
43 public void setPrimaryKey(long pk) {
44 _pollsChoice.setPrimaryKey(pk);
45 }
46
47 public java.lang.String getUuid() {
48 return _pollsChoice.getUuid();
49 }
50
51 public void setUuid(java.lang.String uuid) {
52 _pollsChoice.setUuid(uuid);
53 }
54
55 public long getChoiceId() {
56 return _pollsChoice.getChoiceId();
57 }
58
59 public void setChoiceId(long choiceId) {
60 _pollsChoice.setChoiceId(choiceId);
61 }
62
63 public long getQuestionId() {
64 return _pollsChoice.getQuestionId();
65 }
66
67 public void setQuestionId(long questionId) {
68 _pollsChoice.setQuestionId(questionId);
69 }
70
71 public java.lang.String getName() {
72 return _pollsChoice.getName();
73 }
74
75 public void setName(java.lang.String name) {
76 _pollsChoice.setName(name);
77 }
78
79 public java.lang.String getDescription() {
80 return _pollsChoice.getDescription();
81 }
82
83 public void setDescription(java.lang.String description) {
84 _pollsChoice.setDescription(description);
85 }
86
87 public com.liferay.portlet.polls.model.PollsChoice toEscapedModel() {
88 return _pollsChoice.toEscapedModel();
89 }
90
91 public boolean isNew() {
92 return _pollsChoice.isNew();
93 }
94
95 public boolean setNew(boolean n) {
96 return _pollsChoice.setNew(n);
97 }
98
99 public boolean isCachedModel() {
100 return _pollsChoice.isCachedModel();
101 }
102
103 public void setCachedModel(boolean cachedModel) {
104 _pollsChoice.setCachedModel(cachedModel);
105 }
106
107 public boolean isEscapedModel() {
108 return _pollsChoice.isEscapedModel();
109 }
110
111 public void setEscapedModel(boolean escapedModel) {
112 _pollsChoice.setEscapedModel(escapedModel);
113 }
114
115 public java.io.Serializable getPrimaryKeyObj() {
116 return _pollsChoice.getPrimaryKeyObj();
117 }
118
119 public java.lang.Object clone() {
120 return _pollsChoice.clone();
121 }
122
123 public int compareTo(
124 com.liferay.portlet.polls.model.PollsChoice pollsChoice) {
125 return _pollsChoice.compareTo(pollsChoice);
126 }
127
128 public int hashCode() {
129 return _pollsChoice.hashCode();
130 }
131
132 public java.lang.String toString() {
133 return _pollsChoice.toString();
134 }
135
136 public java.lang.String toXmlString() {
137 return _pollsChoice.toXmlString();
138 }
139
140 public int getVotesCount() throws com.liferay.portal.SystemException {
141 return _pollsChoice.getVotesCount();
142 }
143
144 public PollsChoice getWrappedPollsChoice() {
145 return _pollsChoice;
146 }
147
148 private PollsChoice _pollsChoice;
149 }