| EventDefinitionImpl.java |
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.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 }