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    /**
019     * <p>
020     * This class is a wrapper for {@link Ticket}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       Ticket
025     * @generated
026     */
027    public class TicketWrapper implements Ticket {
028            public TicketWrapper(Ticket ticket) {
029                    _ticket = ticket;
030            }
031    
032            public long getPrimaryKey() {
033                    return _ticket.getPrimaryKey();
034            }
035    
036            public void setPrimaryKey(long pk) {
037                    _ticket.setPrimaryKey(pk);
038            }
039    
040            public long getTicketId() {
041                    return _ticket.getTicketId();
042            }
043    
044            public void setTicketId(long ticketId) {
045                    _ticket.setTicketId(ticketId);
046            }
047    
048            public long getCompanyId() {
049                    return _ticket.getCompanyId();
050            }
051    
052            public void setCompanyId(long companyId) {
053                    _ticket.setCompanyId(companyId);
054            }
055    
056            public java.util.Date getCreateDate() {
057                    return _ticket.getCreateDate();
058            }
059    
060            public void setCreateDate(java.util.Date createDate) {
061                    _ticket.setCreateDate(createDate);
062            }
063    
064            public java.lang.String getClassName() {
065                    return _ticket.getClassName();
066            }
067    
068            public long getClassNameId() {
069                    return _ticket.getClassNameId();
070            }
071    
072            public void setClassNameId(long classNameId) {
073                    _ticket.setClassNameId(classNameId);
074            }
075    
076            public long getClassPK() {
077                    return _ticket.getClassPK();
078            }
079    
080            public void setClassPK(long classPK) {
081                    _ticket.setClassPK(classPK);
082            }
083    
084            public java.lang.String getKey() {
085                    return _ticket.getKey();
086            }
087    
088            public void setKey(java.lang.String key) {
089                    _ticket.setKey(key);
090            }
091    
092            public java.util.Date getExpirationDate() {
093                    return _ticket.getExpirationDate();
094            }
095    
096            public void setExpirationDate(java.util.Date expirationDate) {
097                    _ticket.setExpirationDate(expirationDate);
098            }
099    
100            public com.liferay.portal.model.Ticket toEscapedModel() {
101                    return _ticket.toEscapedModel();
102            }
103    
104            public boolean isNew() {
105                    return _ticket.isNew();
106            }
107    
108            public void setNew(boolean n) {
109                    _ticket.setNew(n);
110            }
111    
112            public boolean isCachedModel() {
113                    return _ticket.isCachedModel();
114            }
115    
116            public void setCachedModel(boolean cachedModel) {
117                    _ticket.setCachedModel(cachedModel);
118            }
119    
120            public boolean isEscapedModel() {
121                    return _ticket.isEscapedModel();
122            }
123    
124            public void setEscapedModel(boolean escapedModel) {
125                    _ticket.setEscapedModel(escapedModel);
126            }
127    
128            public java.io.Serializable getPrimaryKeyObj() {
129                    return _ticket.getPrimaryKeyObj();
130            }
131    
132            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
133                    return _ticket.getExpandoBridge();
134            }
135    
136            public void setExpandoBridgeAttributes(
137                    com.liferay.portal.service.ServiceContext serviceContext) {
138                    _ticket.setExpandoBridgeAttributes(serviceContext);
139            }
140    
141            public java.lang.Object clone() {
142                    return _ticket.clone();
143            }
144    
145            public int compareTo(com.liferay.portal.model.Ticket ticket) {
146                    return _ticket.compareTo(ticket);
147            }
148    
149            public int hashCode() {
150                    return _ticket.hashCode();
151            }
152    
153            public java.lang.String toString() {
154                    return _ticket.toString();
155            }
156    
157            public java.lang.String toXmlString() {
158                    return _ticket.toXmlString();
159            }
160    
161            public boolean isExpired() {
162                    return _ticket.isExpired();
163            }
164    
165            public Ticket getWrappedTicket() {
166                    return _ticket;
167            }
168    
169            private Ticket _ticket;
170    }