org.apache.jetspeed.om.profile.psml
Class PsmlIdentityElement

java.lang.Object
  extended byorg.apache.jetspeed.om.profile.psml.PsmlConfigElement
      extended byorg.apache.jetspeed.om.profile.psml.PsmlIdentityElement
All Implemented Interfaces:
java.lang.Cloneable, ConfigElement, IdentityElement, MetaInfo, java.io.Serializable
Direct Known Subclasses:
PsmlEntry, PsmlPortlets

public class PsmlIdentityElement
extends PsmlConfigElement
implements IdentityElement, java.io.Serializable

Base simple bean-like implementation of the IdentityElement interface suitable for Castor XML serialization.

Version:
$Id: PsmlIdentityElement.java,v 1.6 2004/02/23 03:02:54 jford Exp $
Author:
David Sean Taylor
See Also:
Serialized Form

Constructor Summary
PsmlIdentityElement()
           
 
Method Summary
 java.lang.Object clone()
          Create a clone of this object
 Control getControl()
           
 Controller getController()
           
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 java.lang.String getImage()
           
 Layout getLayout()
           
 MetaInfo getMetaInfo()
          Required by Castor 0.8.11 XML serialization for retrieving the metainfo
 Skin getSkin()
           
 java.lang.String getTitle()
           
 void setControl(Control control)
           
 void setController(Controller controller)
           
 void setDescription(java.lang.String description)
          Sets the descsription of this parameter.value.
 void setId(java.lang.String id)
          Changes the name of this entry
 void setImage(java.lang.String image)
          Sets the image name of this parameter.
 void setLayout(Layout layout)
           
 void setMetaInfo(MetaInfo metaInfo)
          Required by Castor 0.8.11 XML serialization for setting the entry metainfo
 void setSkin(Skin skin)
           
 void setTitle(java.lang.String title)
          Sets the descsription of this parameter.value.
 
Methods inherited from class org.apache.jetspeed.om.profile.psml.PsmlConfigElement
addParameter, getName, getParameter, getParameter, getParameter, getParameterCount, getParameterIterator, getParameters, getParameterValue, removeAllParameter, removeParameter, setName, setParameter, setParameters
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.om.profile.ConfigElement
addParameter, getName, getParameter, getParameter, getParameter, getParameterCount, getParameterIterator, getParameterValue, removeAllParameter, removeParameter, setName, setParameter
 

Constructor Detail

PsmlIdentityElement

public PsmlIdentityElement()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface IdentityElement
Returns:
the id of this entry. This value is guaranteed to be unique at least within the current Document.
See Also:
IdentityElement.getId()

setId

public void setId(java.lang.String id)
Description copied from interface: IdentityElement
Changes the name of this entry

Specified by:
setId in interface IdentityElement
See Also:
IdentityElement.setId(java.lang.String)

getSkin

public Skin getSkin()
Specified by:
getSkin in interface IdentityElement
See Also:
IdentityElement.getSkin()

setSkin

public void setSkin(Skin skin)
Specified by:
setSkin in interface IdentityElement
See Also:
IdentityElement.setSkin(org.apache.jetspeed.om.profile.Skin)

getLayout

public Layout getLayout()
Specified by:
getLayout in interface IdentityElement
See Also:
IdentityElement.getLayout()

setLayout

public void setLayout(Layout layout)
Specified by:
setLayout in interface IdentityElement
See Also:
IdentityElement.setLayout(org.apache.jetspeed.om.profile.Layout)

getControl

public Control getControl()
Specified by:
getControl in interface IdentityElement
See Also:
IdentityElement.getControl()

setControl

public void setControl(Control control)
Specified by:
setControl in interface IdentityElement
See Also:
IdentityElement.setControl(org.apache.jetspeed.om.profile.Control)

getController

public Controller getController()

setController

public void setController(Controller controller)

getMetaInfo

public MetaInfo getMetaInfo()
Required by Castor 0.8.11 XML serialization for retrieving the metainfo

Specified by:
getMetaInfo in interface IdentityElement
Returns:
the metaInfo for this element
See Also:
IdentityElement.getMetaInfo()

setMetaInfo

public void setMetaInfo(MetaInfo metaInfo)
Required by Castor 0.8.11 XML serialization for setting the entry metainfo

Specified by:
setMetaInfo in interface IdentityElement
Parameters:
metaInfo - info for this entry
See Also:
IdentityElement.setMetaInfo(org.apache.jetspeed.om.profile.MetaInfo)

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface MetaInfo
Returns:
the parameter's title
See Also:
MetaInfo.getTitle()

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: MetaInfo
Sets the descsription of this parameter.value.

Specified by:
setTitle in interface MetaInfo
See Also:
MetaInfo.setTitle(java.lang.String)

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface MetaInfo
Returns:
the parameter's description
See Also:
MetaInfo.getDescription()

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: MetaInfo
Sets the descsription of this parameter.value.

Specified by:
setDescription in interface MetaInfo
Parameters:
description - the new description
See Also:
MetaInfo.setDescription(java.lang.String)

getImage

public java.lang.String getImage()
Specified by:
getImage in interface MetaInfo
Returns:
the image name for this parameter
See Also:
MetaInfo.getImage()

setImage

public void setImage(java.lang.String image)
Description copied from interface: MetaInfo
Sets the image name of this parameter.

Specified by:
setImage in interface MetaInfo
Parameters:
image - the new parameter value
See Also:
MetaInfo.setImage(java.lang.String)

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Create a clone of this object

Specified by:
clone in interface MetaInfo
Overrides:
clone in class PsmlConfigElement
Throws:
java.lang.CloneNotSupportedException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.