Betty v1.1.0

christophedelory.betty.servlet
Class EntityToRSSDescription

java.lang.Object
  extended by christophedelory.betty.EntityToString
      extended by christophedelory.betty.servlet.EntityToRSSDescription

 class EntityToRSSDescription
extends EntityToString

EJB string representations for the RSS item description.

Since:
0.9.2
Version:
$Revision$
Author:
Christophe Delory

Field Summary
 
Fields inherited from class christophedelory.betty.EntityToString
SINGLETON
 
Constructor Summary
EntityToRSSDescription(boolean forAdmin)
          The default constructor.
 
Method Summary
 String toString(LocalBet dbEntity, Locale locale)
          Returns a string representation of the specified EJB object.
 String toString(LocalPlayerScore dbEntity, Locale locale)
          Returns a string representation of the specified EJB object.
 String toString(LocalUser dbEntity, Locale locale)
          Returns a string representation of the specified EJB object.
 
Methods inherited from class christophedelory.betty.EntityToString
toEntityString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityToRSSDescription

public EntityToRSSDescription(boolean forAdmin)
The default constructor.

Parameters:
forAdmin - Specifies if the target user has the administrator profile or not.
Method Detail

toString

public String toString(LocalBet dbEntity,
                       Locale locale)
Description copied from class: EntityToString
Returns a string representation of the specified EJB object. This is a one-line text including key identifiers of this object.

Overrides:
toString in class EntityToString
Parameters:
dbEntity - the input EJB object. Shall not be null.
locale - the target locale. May be null.
Returns:
a string representing the EJB object. Shall not be null.

toString

public String toString(LocalPlayerScore dbEntity,
                       Locale locale)
Description copied from class: EntityToString
Returns a string representation of the specified EJB object. This is a one-line text including key identifiers of this object.

Overrides:
toString in class EntityToString
Parameters:
dbEntity - the input EJB object. Shall not be null.
locale - the target locale. May be null.
Returns:
a string representing the EJB object. Shall not be null.

toString

public String toString(LocalUser dbEntity,
                       Locale locale)
Description copied from class: EntityToString
Returns a string representation of the specified EJB object. This is a one-line text including key identifiers of this object.

Overrides:
toString in class EntityToString
Parameters:
dbEntity - the input EJB object. Shall not be null.
locale - the target locale. May be null.
Returns:
a string representing the EJB object. Shall not be null.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.