01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.container.om.entity;
07:
08: import java.io.Serializable;
09:
10: import org.apache.pluto.om.common.ObjectID;
11: import org.apache.pluto.om.entity.PortletApplicationEntity;
12: import org.apache.pluto.om.entity.PortletEntityList;
13: import org.apache.pluto.om.portlet.PortletApplicationDefinition;
14: import org.jasig.portal.container.om.common.ObjectIDImpl;
15:
16: /**
17: * Implementation of Apache Pluto object model.
18: * @author Ken Weiner, kweiner@unicon.net
19: * @version $Revision: 34757 $
20: */
21: public class PortletApplicationEntityImpl implements
22: PortletApplicationEntity, Serializable {
23:
24: private ObjectID objectId = null;
25: private PortletEntityList portletEntities = null;
26: private PortletApplicationDefinition definition = null;
27:
28: public ObjectID getId() {
29: return objectId;
30: }
31:
32: public PortletEntityList getPortletEntityList() {
33: return portletEntities;
34: }
35:
36: public PortletApplicationDefinition getPortletApplicationDefinition() {
37: return definition;
38: }
39:
40: // Additional methods
41:
42: public void setId(String id) {
43: this .objectId = ObjectIDImpl.createFromString(id);
44: }
45:
46: public void setPortletEntityList(PortletEntityList portletEntities) {
47: this .portletEntities = portletEntities;
48: }
49:
50: public void setPortletApplicationDefinition(
51: PortletApplicationDefinition definition) {
52: this.definition = definition;
53: }
54: }
|