1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model.impl;
16  
17  import com.liferay.portal.kernel.xml.QName;
18  import com.liferay.portal.model.EventDefinition;
19  import com.liferay.portal.model.PortletApp;
20  
21  /**
22   * <a href="EventDefinitionImpl.java.html"><b><i>View Source</i></b></a>
23   *
24   * @author Brian Wing Shun Chan
25   */
26  public class EventDefinitionImpl implements EventDefinition {
27  
28      public EventDefinitionImpl(
29          QName qName, String valueType, PortletApp portletApp) {
30  
31          _qName = qName;
32          _valueType = valueType;
33          _portletApp = portletApp;
34      }
35  
36      public QName getQName() {
37          return _qName;
38      }
39  
40      public void setQName(QName qName) {
41          _qName = qName;
42      }
43  
44      public String getValueType() {
45          return _valueType;
46      }
47  
48      public void setValueType(String valueType) {
49          _valueType = valueType;
50      }
51  
52      public PortletApp getPortletApp() {
53          return _portletApp;
54      }
55  
56      public void setPortletApp(PortletApp portletApp) {
57          _portletApp = portletApp;
58      }
59  
60      private QName _qName;
61      private String _valueType;
62      private PortletApp _portletApp;
63  
64  }