001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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            public long getPrimaryKey() {
032                    return _ticket.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _ticket.setPrimaryKey(pk);
037            }
038    
039            public long getTicketId() {
040                    return _ticket.getTicketId();
041            }
042    
043            public void setTicketId(long ticketId) {
044                    _ticket.setTicketId(ticketId);
045            }
046    
047            public long getCompanyId() {
048                    return _ticket.getCompanyId();
049            }
050    
051            public void setCompanyId(long companyId) {
052                    _ticket.setCompanyId(companyId);
053            }
054    
055            public java.util.Date getCreateDate() {
056                    return _ticket.getCreateDate();
057            }
058    
059            public void setCreateDate(java.util.Date createDate) {
060                    _ticket.setCreateDate(createDate);
061            }
062    
063            public java.lang.String getClassName() {
064                    return _ticket.getClassName();
065            }
066    
067            public long getClassNameId() {
068                    return _ticket.getClassNameId();
069            }
070    
071            public void setClassNameId(long classNameId) {
072                    _ticket.setClassNameId(classNameId);
073            }
074    
075            public long getClassPK() {
076                    return _ticket.getClassPK();
077            }
078    
079            public void setClassPK(long classPK) {
080                    _ticket.setClassPK(classPK);
081            }
082    
083            public java.lang.String getKey() {
084                    return _ticket.getKey();
085            }
086    
087            public void setKey(java.lang.String key) {
088                    _ticket.setKey(key);
089            }
090    
091            public java.util.Date getExpirationDate() {
092                    return _ticket.getExpirationDate();
093            }
094    
095            public void setExpirationDate(java.util.Date expirationDate) {
096                    _ticket.setExpirationDate(expirationDate);
097            }
098    
099            public com.liferay.portal.model.Ticket toEscapedModel() {
100                    return _ticket.toEscapedModel();
101            }
102    
103            public boolean isNew() {
104                    return _ticket.isNew();
105            }
106    
107            public void setNew(boolean n) {
108                    _ticket.setNew(n);
109            }
110    
111            public boolean isCachedModel() {
112                    return _ticket.isCachedModel();
113            }
114    
115            public void setCachedModel(boolean cachedModel) {
116                    _ticket.setCachedModel(cachedModel);
117            }
118    
119            public boolean isEscapedModel() {
120                    return _ticket.isEscapedModel();
121            }
122    
123            public void setEscapedModel(boolean escapedModel) {
124                    _ticket.setEscapedModel(escapedModel);
125            }
126    
127            public java.io.Serializable getPrimaryKeyObj() {
128                    return _ticket.getPrimaryKeyObj();
129            }
130    
131            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
132                    return _ticket.getExpandoBridge();
133            }
134    
135            public void setExpandoBridgeAttributes(
136                    com.liferay.portal.service.ServiceContext serviceContext) {
137                    _ticket.setExpandoBridgeAttributes(serviceContext);
138            }
139    
140            public java.lang.Object clone() {
141                    return _ticket.clone();
142            }
143    
144            public int compareTo(com.liferay.portal.model.Ticket ticket) {
145                    return _ticket.compareTo(ticket);
146            }
147    
148            public int hashCode() {
149                    return _ticket.hashCode();
150            }
151    
152            public java.lang.String toString() {
153                    return _ticket.toString();
154            }
155    
156            public java.lang.String toXmlString() {
157                    return _ticket.toXmlString();
158            }
159    
160            public boolean isExpired() {
161                    return _ticket.isExpired();
162            }
163    
164            public Ticket getWrappedTicket() {
165                    return _ticket;
166            }
167    
168            private Ticket _ticket;
169    }