| EventDefinitionImpl.java |
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.model.EventDefinition;
18 import com.liferay.portal.model.PortletApp;
19
20 import javax.xml.namespace.QName;
21
22 /**
23 * <a href="EventDefinitionImpl.java.html"><b><i>View Source</i></b></a>
24 *
25 * @author Brian Wing Shun Chan
26 */
27 public class EventDefinitionImpl implements EventDefinition {
28
29 public EventDefinitionImpl(
30 QName qName, String valueType, PortletApp portletApp) {
31
32 _qName = qName;
33 _valueType = valueType;
34 _portletApp = portletApp;
35 }
36
37 public QName getQName() {
38 return _qName;
39 }
40
41 public void setQName(QName qName) {
42 _qName = qName;
43 }
44
45 public String getValueType() {
46 return _valueType;
47 }
48
49 public void setValueType(String valueType) {
50 _valueType = valueType;
51 }
52
53 public PortletApp getPortletApp() {
54 return _portletApp;
55 }
56
57 public void setPortletApp(PortletApp portletApp) {
58 _portletApp = portletApp;
59 }
60
61 private QName _qName;
62 private String _valueType;
63 private PortletApp _portletApp;
64
65 }