org.apache.jetspeed.om.impl
Class DescriptionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.DescriptionImpl
All Implemented Interfaces:
org.apache.jetspeed.om.common.MutableDescription, org.apache.pluto.om.common.Description, org.apache.pluto.om.Model
Direct Known Subclasses:
ParameterDescriptionImpl, PortletAppDescriptionImpl, PortletDescriptionImpl, PortletEntityDescriptionImpl, PreferenceDescriptionImpl, SecurityRoleRefDescriptionImpl, WebAppDescriptionImpl

public abstract class DescriptionImpl
extends Object
implements org.apache.jetspeed.om.common.MutableDescription

DescriptionImpl
Basic Implementation of the MutableDescription interface.

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

Field Summary
private  String description
           
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.MutableDescription
TYPE_PARAMETER, TYPE_PORTLET, TYPE_PORTLET_APP, TYPE_PORTLET_ENTITY, TYPE_PREFERENCE, TYPE_SEC_ROLE_REF, TYPE_WEB_APP
 
Constructor Summary
DescriptionImpl()
           
DescriptionImpl(Locale locale, String description)
           
 
Method Summary
 String getDescription()
           
 Locale getLocale()
           
 void setDescription(String description)
           
 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

description

private String description

locale

private Locale locale

parentId

protected long parentId

id

protected long id

ojbConcreteClass

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

Constructor Detail

DescriptionImpl

public DescriptionImpl()

DescriptionImpl

public DescriptionImpl(Locale locale,
                       String description)
Method Detail

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface org.apache.jetspeed.om.common.MutableDescription
See Also:
org.apache.jetspeed.om.registry.Description#setDescription(java.lang.String)

setLocale

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

getDescription

public String getDescription()
Specified by:
getDescription in interface org.apache.pluto.om.common.Description
See Also:
org.apache.jetspeed.om.registry.Description#getDescription()

getLocale

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

setLanguage

public void setLanguage(String lang)


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