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.DisplayName;
12:
13: /**
14: * Implementation of Apache Pluto object model.
15: * @author Ken Weiner, kweiner@unicon.net
16: * @version $Revision: 34757 $
17: */
18: public class DisplayNameImpl implements DisplayName, Serializable {
19:
20: private String displayName = null;
21: private Locale locale = null;
22:
23: public DisplayNameImpl() {
24:
25: }
26:
27: public DisplayNameImpl(String displayName, Locale locale) {
28: this .displayName = displayName;
29: this .locale = locale;
30: }
31:
32: // DisplayName methods
33:
34: public String getDisplayName() {
35: return displayName;
36: }
37:
38: public Locale getLocale() {
39: return locale;
40: }
41:
42: // Additional methods
43:
44: public void setDisplayName(String displayName) {
45: this .displayName = displayName;
46: }
47:
48: public void setLocale(Locale locale) {
49: this.locale = locale;
50: }
51:
52: }
|