org.apache.jetspeed.om.impl
Class DisplayNameImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.DisplayNameImpl
All Implemented Interfaces:
org.apache.jetspeed.om.common.MutableDisplayName, org.apache.pluto.om.common.DisplayName, org.apache.pluto.om.Model
Direct Known Subclasses:
PortletDisplayNameImpl, WebAppDisplayNameImpl

public abstract class DisplayNameImpl
extends Object
implements org.apache.jetspeed.om.common.MutableDisplayName

DisplayNameImpl

Version:
$Id: DisplayNameImpl.java 516448 2007-03-09 16:25:47Z ate $
Author:
Scott T. Weaver

Field Summary
private  String displayName
           
protected  long id
           
private  Locale locale
           
protected  String ojbConcreteClass
          Tells OJB which class to use to materialize.
protected  long parentId
           
 
Fields inherited from interface org.apache.jetspeed.om.common.MutableDisplayName
TYPE_PORTLET, TYPE_WEB_APP
 
Constructor Summary
DisplayNameImpl()
           
DisplayNameImpl(Locale locale, String name)
           
 
Method Summary
 String getDisplayName()
           
 Locale getLocale()
           
 void setDisplayName(String displayName)
           
 void setLanguage(String lang)
           
 void setLocale(Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayName

private String displayName

locale

private Locale locale

ojbConcreteClass

protected String ojbConcreteClass
Tells OJB which class to use to materialize.


parentId

protected long parentId

id

protected long id
Constructor Detail

DisplayNameImpl

public DisplayNameImpl()

DisplayNameImpl

public DisplayNameImpl(Locale locale,
                       String name)
Parameters:
locale - Locale of this DisaplyName.
name - The actual text of the display name.
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.apache.pluto.om.common.DisplayName
See Also:
DisplayName.getDisplayName()

getLocale

public Locale getLocale()
Specified by:
getLocale in interface org.apache.pluto.om.common.DisplayName
See Also:
DisplayName.getLocale()

setDisplayName

public void setDisplayName(String displayName)
Specified by:
setDisplayName in interface org.apache.jetspeed.om.common.MutableDisplayName
See Also:
MutableDisplayName.setDisplayName(java.lang.String)

setLocale

public void setLocale(Locale locale)
Specified by:
setLocale in interface org.apache.jetspeed.om.common.MutableDisplayName
See Also:
MutableDisplayName.setLocale(java.util.Locale)

setLanguage

public void setLanguage(String lang)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.