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.common;
07:
08: import java.io.Serializable;
09: import java.util.Locale;
10:
11: import org.apache.pluto.om.common.Description;
12:
13: /**
14: * Implementation of Apache Pluto object model.
15: * @author Ken Weiner, kweiner@unicon.net
16: * @version $Revision: 34757 $
17: */
18: public class DescriptionImpl implements Description, Serializable {
19:
20: private String description = null;
21: private Locale locale = null;
22:
23: public DescriptionImpl() {
24:
25: }
26:
27: public DescriptionImpl(String description, Locale locale) {
28: this ();
29: this .description = description;
30: this .locale = locale;
31: }
32:
33: // Description methods
34:
35: public String getDescription() {
36: return description;
37: }
38:
39: public Locale getLocale() {
40: return locale;
41: }
42:
43: // Additional methods
44:
45: public void setDescription(String description) {
46: this .description = description;
47: }
48:
49: public void setLocale(Locale locale) {
50: this.locale = locale;
51: }
52:
53: }
|