org.apache.jetspeed.om.impl
Class DescriptionImpl

java.lang.Object
  extended by org.apache.jetspeed.om.impl.DescriptionImpl
All Implemented Interfaces:
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 java.lang.Object
implements 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
protected  long id
           
protected  java.lang.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(java.util.Locale locale, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.Locale getLocale()
           
 void setDescription(java.lang.String description)
           
 void setLanguage(java.lang.String lang)
           
 void setLocale(java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentId

protected long parentId

id

protected long id

ojbConcreteClass

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

Constructor Detail

DescriptionImpl

public DescriptionImpl()

DescriptionImpl

public DescriptionImpl(java.util.Locale locale,
                       java.lang.String description)
Method Detail

setDescription

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

setLocale

public void setLocale(java.util.Locale locale)
Specified by:
setLocale in interface MutableDescription
See Also:
MutableDescription.setLocale(java.util.Locale)

getDescription

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

getLocale

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

setLanguage

public void setLanguage(java.lang.String lang)


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