org.apache.jetspeed.om.registry.base
Class BaseMetaInfo

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseMetaInfo
All Implemented Interfaces:
MetaInfo, java.io.Serializable

public class BaseMetaInfo
extends java.lang.Object
implements MetaInfo, java.io.Serializable

Bean like implementation of the Metainfo interface suitable for Castor serialization.

Version:
$Id: BaseMetaInfo.java,v 1.5 2005/03/21 18:21:37 sgala Exp $
Author:
RaphaŽl Luta
See Also:
MetaInfo, Serialized Form

Constructor Summary
BaseMetaInfo()
           
BaseMetaInfo(java.lang.String title, java.lang.String description, java.lang.String image)
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 java.lang.String getDescription()
           
 java.lang.String getImage()
           
 java.lang.String getTitle()
           
 void setDescription(java.lang.String description)
          Sets the description for this entry
 void setImage(java.lang.String image)
          Sets the image URL attached to this entry
 void setTitle(java.lang.String title)
          Sets the title for this entry
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMetaInfo

public BaseMetaInfo()

BaseMetaInfo

public BaseMetaInfo(java.lang.String title,
                    java.lang.String description,
                    java.lang.String image)
Method Detail

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.


getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface MetaInfo
Returns:
the title for this entry

setTitle

public void setTitle(java.lang.String title)
Sets the title for this entry

Specified by:
setTitle in interface MetaInfo
Parameters:
title - the new title for this entry

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface MetaInfo
Returns:
the description for this entry

setDescription

public void setDescription(java.lang.String description)
Sets the description for this entry

Specified by:
setDescription in interface MetaInfo
Parameters:
description - the new description for this entry

getImage

public java.lang.String getImage()
Specified by:
getImage in interface MetaInfo
Returns:
the image link for this entry

setImage

public void setImage(java.lang.String image)
Sets the image URL attached to this entry

Specified by:
setImage in interface MetaInfo
Parameters:
image - the image URL to link to this entry


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