001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link Ticket}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Ticket
024     * @generated
025     */
026    public class TicketWrapper implements Ticket {
027            public TicketWrapper(Ticket ticket) {
028                    _ticket = ticket;
029            }
030    
031            /**
032            * Gets the primary key of this ticket.
033            *
034            * @return the primary key of this ticket
035            */
036            public long getPrimaryKey() {
037                    return _ticket.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this ticket
042            *
043            * @param pk the primary key of this ticket
044            */
045            public void setPrimaryKey(long pk) {
046                    _ticket.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the ticket id of this ticket.
051            *
052            * @return the ticket id of this ticket
053            */
054            public long getTicketId() {
055                    return _ticket.getTicketId();
056            }
057    
058            /**
059            * Sets the ticket id of this ticket.
060            *
061            * @param ticketId the ticket id of this ticket
062            */
063            public void setTicketId(long ticketId) {
064                    _ticket.setTicketId(ticketId);
065            }
066    
067            /**
068            * Gets the company id of this ticket.
069            *
070            * @return the company id of this ticket
071            */
072            public long getCompanyId() {
073                    return _ticket.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this ticket.
078            *
079            * @param companyId the company id of this ticket
080            */
081            public void setCompanyId(long companyId) {
082                    _ticket.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the create date of this ticket.
087            *
088            * @return the create date of this ticket
089            */
090            public java.util.Date getCreateDate() {
091                    return _ticket.getCreateDate();
092            }
093    
094            /**
095            * Sets the create date of this ticket.
096            *
097            * @param createDate the create date of this ticket
098            */
099            public void setCreateDate(java.util.Date createDate) {
100                    _ticket.setCreateDate(createDate);
101            }
102    
103            /**
104            * Gets the class name of the model instance this ticket is polymorphically associated with.
105            *
106            * @return the class name of the model instance this ticket is polymorphically associated with
107            */
108            public java.lang.String getClassName() {
109                    return _ticket.getClassName();
110            }
111    
112            /**
113            * Gets the class name id of this ticket.
114            *
115            * @return the class name id of this ticket
116            */
117            public long getClassNameId() {
118                    return _ticket.getClassNameId();
119            }
120    
121            /**
122            * Sets the class name id of this ticket.
123            *
124            * @param classNameId the class name id of this ticket
125            */
126            public void setClassNameId(long classNameId) {
127                    _ticket.setClassNameId(classNameId);
128            }
129    
130            /**
131            * Gets the class p k of this ticket.
132            *
133            * @return the class p k of this ticket
134            */
135            public long getClassPK() {
136                    return _ticket.getClassPK();
137            }
138    
139            /**
140            * Sets the class p k of this ticket.
141            *
142            * @param classPK the class p k of this ticket
143            */
144            public void setClassPK(long classPK) {
145                    _ticket.setClassPK(classPK);
146            }
147    
148            /**
149            * Gets the key of this ticket.
150            *
151            * @return the key of this ticket
152            */
153            public java.lang.String getKey() {
154                    return _ticket.getKey();
155            }
156    
157            /**
158            * Sets the key of this ticket.
159            *
160            * @param key the key of this ticket
161            */
162            public void setKey(java.lang.String key) {
163                    _ticket.setKey(key);
164            }
165    
166            /**
167            * Gets the expiration date of this ticket.
168            *
169            * @return the expiration date of this ticket
170            */
171            public java.util.Date getExpirationDate() {
172                    return _ticket.getExpirationDate();
173            }
174    
175            /**
176            * Sets the expiration date of this ticket.
177            *
178            * @param expirationDate the expiration date of this ticket
179            */
180            public void setExpirationDate(java.util.Date expirationDate) {
181                    _ticket.setExpirationDate(expirationDate);
182            }
183    
184            public boolean isNew() {
185                    return _ticket.isNew();
186            }
187    
188            public void setNew(boolean n) {
189                    _ticket.setNew(n);
190            }
191    
192            public boolean isCachedModel() {
193                    return _ticket.isCachedModel();
194            }
195    
196            public void setCachedModel(boolean cachedModel) {
197                    _ticket.setCachedModel(cachedModel);
198            }
199    
200            public boolean isEscapedModel() {
201                    return _ticket.isEscapedModel();
202            }
203    
204            public void setEscapedModel(boolean escapedModel) {
205                    _ticket.setEscapedModel(escapedModel);
206            }
207    
208            public java.io.Serializable getPrimaryKeyObj() {
209                    return _ticket.getPrimaryKeyObj();
210            }
211    
212            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
213                    return _ticket.getExpandoBridge();
214            }
215    
216            public void setExpandoBridgeAttributes(
217                    com.liferay.portal.service.ServiceContext serviceContext) {
218                    _ticket.setExpandoBridgeAttributes(serviceContext);
219            }
220    
221            public java.lang.Object clone() {
222                    return _ticket.clone();
223            }
224    
225            public int compareTo(com.liferay.portal.model.Ticket ticket) {
226                    return _ticket.compareTo(ticket);
227            }
228    
229            public int hashCode() {
230                    return _ticket.hashCode();
231            }
232    
233            public com.liferay.portal.model.Ticket toEscapedModel() {
234                    return _ticket.toEscapedModel();
235            }
236    
237            public java.lang.String toString() {
238                    return _ticket.toString();
239            }
240    
241            public java.lang.String toXmlString() {
242                    return _ticket.toXmlString();
243            }
244    
245            public boolean isExpired() {
246                    return _ticket.isExpired();
247            }
248    
249            public Ticket getWrappedTicket() {
250                    return _ticket;
251            }
252    
253            private Ticket _ticket;
254    }