1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="TicketSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link Ticket}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       Ticket
32   * @generated
33   */
34  public class TicketWrapper implements Ticket {
35      public TicketWrapper(Ticket ticket) {
36          _ticket = ticket;
37      }
38  
39      public long getPrimaryKey() {
40          return _ticket.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _ticket.setPrimaryKey(pk);
45      }
46  
47      public long getTicketId() {
48          return _ticket.getTicketId();
49      }
50  
51      public void setTicketId(long ticketId) {
52          _ticket.setTicketId(ticketId);
53      }
54  
55      public long getCompanyId() {
56          return _ticket.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _ticket.setCompanyId(companyId);
61      }
62  
63      public java.util.Date getCreateDate() {
64          return _ticket.getCreateDate();
65      }
66  
67      public void setCreateDate(java.util.Date createDate) {
68          _ticket.setCreateDate(createDate);
69      }
70  
71      public java.lang.String getClassName() {
72          return _ticket.getClassName();
73      }
74  
75      public long getClassNameId() {
76          return _ticket.getClassNameId();
77      }
78  
79      public void setClassNameId(long classNameId) {
80          _ticket.setClassNameId(classNameId);
81      }
82  
83      public long getClassPK() {
84          return _ticket.getClassPK();
85      }
86  
87      public void setClassPK(long classPK) {
88          _ticket.setClassPK(classPK);
89      }
90  
91      public java.lang.String getKey() {
92          return _ticket.getKey();
93      }
94  
95      public void setKey(java.lang.String key) {
96          _ticket.setKey(key);
97      }
98  
99      public java.util.Date getExpirationDate() {
100         return _ticket.getExpirationDate();
101     }
102 
103     public void setExpirationDate(java.util.Date expirationDate) {
104         _ticket.setExpirationDate(expirationDate);
105     }
106 
107     public com.liferay.portal.model.Ticket toEscapedModel() {
108         return _ticket.toEscapedModel();
109     }
110 
111     public boolean isNew() {
112         return _ticket.isNew();
113     }
114 
115     public boolean setNew(boolean n) {
116         return _ticket.setNew(n);
117     }
118 
119     public boolean isCachedModel() {
120         return _ticket.isCachedModel();
121     }
122 
123     public void setCachedModel(boolean cachedModel) {
124         _ticket.setCachedModel(cachedModel);
125     }
126 
127     public boolean isEscapedModel() {
128         return _ticket.isEscapedModel();
129     }
130 
131     public void setEscapedModel(boolean escapedModel) {
132         _ticket.setEscapedModel(escapedModel);
133     }
134 
135     public java.io.Serializable getPrimaryKeyObj() {
136         return _ticket.getPrimaryKeyObj();
137     }
138 
139     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140         return _ticket.getExpandoBridge();
141     }
142 
143     public void setExpandoBridgeAttributes(
144         com.liferay.portal.service.ServiceContext serviceContext) {
145         _ticket.setExpandoBridgeAttributes(serviceContext);
146     }
147 
148     public java.lang.Object clone() {
149         return _ticket.clone();
150     }
151 
152     public int compareTo(com.liferay.portal.model.Ticket ticket) {
153         return _ticket.compareTo(ticket);
154     }
155 
156     public int hashCode() {
157         return _ticket.hashCode();
158     }
159 
160     public java.lang.String toString() {
161         return _ticket.toString();
162     }
163 
164     public java.lang.String toXmlString() {
165         return _ticket.toXmlString();
166     }
167 
168     public boolean isExpired() {
169         return _ticket.isExpired();
170     }
171 
172     public Ticket getWrappedTicket() {
173         return _ticket;
174     }
175 
176     private Ticket _ticket;
177 }