IT.CappuccinoNet  
StrutsCX v0.9.1
   

com.cappuccinonet.strutscx.prototype.business
Class InfoPresentationVO

java.lang.Object
  |
  +--com.cappuccinonet.strutscx.prototype.business.InfoPresentationVO
All Implemented Interfaces:
java.io.Serializable

public class InfoPresentationVO
extends java.lang.Object
implements java.io.Serializable

A ValueObject to pass the parameters from the business tier to the Client. It's here for convenience for the client - just ready to use parameters like they are needed in the presentation tier. This class gets automatically serialized in a JDOM Document object - so it should only use the following datatypes:

  1. String
  2. int
  3. boolean
  4. ArrayList - they get serialized in a tag with the field name containing for each item a item tag.
This class contains simple setter and getter Methods. The Web-Client Layer should only deal with this ValueObjects or the Business Delegate but and never directly communicating with the persistence layer.

Version:
v0.3, 02.08.2002
Author:
Bernhard Woehrlin, IT.CappuccinoNet.com
See Also:
Serialized Form

Field Summary
private  boolean entryArchive
           
private  boolean entryHide
           
private  int entryId
           
private  boolean entryNew
           
private  java.lang.String linkSource
           
private  java.lang.String linkText
           
private  java.lang.String locale
           
private  java.lang.String pictureAlign
           
private  java.lang.String pictureName
           
private  java.lang.String pictureText
           
private  java.lang.String publishingDate
           
private  java.lang.String rank
           
private  java.util.List textParas
           
private  java.lang.String title
           
 
Constructor Summary
InfoPresentationVO()
           
 
Method Summary
 int getEntryId()
          Returns the entryId.
 java.lang.String getLinkSource()
          Returns the linkSource.
 java.lang.String getLinkText()
          Returns the linkText.
 java.lang.String getLocale()
          Returns the locale.
 java.lang.String getPictureAlign()
          Returns the pictureAlign.
 java.lang.String getPictureName()
          Returns the pictureName.
 java.lang.String getPictureText()
          Returns the pictureText.
 java.lang.String getPublishingDate()
          Returns the publishingDate.
 java.lang.String getRank()
          Returns the rank.
 java.util.List getTextParas()
          Returns the textParas.
 java.lang.String getTitle()
          Returns the title.
 boolean isEntryArchive()
          Returns the entryArchive.
 boolean isEntryHide()
          Returns the entryHide.
 boolean isEntryNew()
          Returns the entryNew.
 void setEntryArchive(boolean entryArchive)
          Sets the entryArchive.
 void setEntryHide(boolean entryHide)
          Sets the entryHide.
 void setEntryId(int entryId)
          Sets the entryId.
 void setEntryNew(boolean entryNew)
          Sets the entryNew.
 void setLinkSource(java.lang.String linkSource)
          Sets the linkSource.
 void setLinkText(java.lang.String linkText)
          Sets the linkText.
 void setLocale(java.lang.String locale)
          Sets the locale.
 void setPictureAlign(java.lang.String pictureAlign)
          Sets the pictureAlign.
 void setPictureName(java.lang.String pictureName)
          Sets the pictureName.
 void setPictureText(java.lang.String pictureText)
          Sets the pictureText.
 void setPublishingDate(java.lang.String publishingDate)
          Sets the publishingDate.
 void setRank(java.lang.String rank)
          Sets the rank.
 void setTextParas(java.util.List textParas)
          Sets the textParas.
 void setTitle(java.lang.String title)
          Sets the title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entryId

private int entryId

locale

private java.lang.String locale

entryNew

private boolean entryNew

entryHide

private boolean entryHide

entryArchive

private boolean entryArchive

title

private java.lang.String title

rank

private java.lang.String rank

pictureName

private java.lang.String pictureName

pictureAlign

private java.lang.String pictureAlign

pictureText

private java.lang.String pictureText

linkSource

private java.lang.String linkSource

linkText

private java.lang.String linkText

publishingDate

private java.lang.String publishingDate

textParas

private java.util.List textParas
Constructor Detail

InfoPresentationVO

public InfoPresentationVO()
Method Detail

isEntryArchive

public boolean isEntryArchive()
Returns the entryArchive.

Returns:
boolean

isEntryHide

public boolean isEntryHide()
Returns the entryHide.

Returns:
boolean

getEntryId

public int getEntryId()
Returns the entryId.

Returns:
int

isEntryNew

public boolean isEntryNew()
Returns the entryNew.

Returns:
boolean

getLinkSource

public java.lang.String getLinkSource()
Returns the linkSource.

Returns:
String

getLinkText

public java.lang.String getLinkText()
Returns the linkText.

Returns:
String

getLocale

public java.lang.String getLocale()
Returns the locale.

Returns:
String

getPictureAlign

public java.lang.String getPictureAlign()
Returns the pictureAlign.

Returns:
String

getPictureName

public java.lang.String getPictureName()
Returns the pictureName.

Returns:
String

getPictureText

public java.lang.String getPictureText()
Returns the pictureText.

Returns:
String

getPublishingDate

public java.lang.String getPublishingDate()
Returns the publishingDate.

Returns:
String

getRank

public java.lang.String getRank()
Returns the rank.

Returns:
String

getTextParas

public java.util.List getTextParas()
Returns the textParas.

Returns:
List

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
String

setEntryArchive

public void setEntryArchive(boolean entryArchive)
Sets the entryArchive.

Parameters:
entryArchive - The entryArchive to set

setEntryHide

public void setEntryHide(boolean entryHide)
Sets the entryHide.

Parameters:
entryHide - The entryHide to set

setEntryId

public void setEntryId(int entryId)
Sets the entryId.

Parameters:
entryId - The entryId to set

setEntryNew

public void setEntryNew(boolean entryNew)
Sets the entryNew.

Parameters:
entryNew - The entryNew to set

setLinkSource

public void setLinkSource(java.lang.String linkSource)
Sets the linkSource.

Parameters:
linkSource - The linkSource to set

setLinkText

public void setLinkText(java.lang.String linkText)
Sets the linkText.

Parameters:
linkText - The linkText to set

setLocale

public void setLocale(java.lang.String locale)
Sets the locale.

Parameters:
locale - The locale to set

setPictureAlign

public void setPictureAlign(java.lang.String pictureAlign)
Sets the pictureAlign.

Parameters:
pictureAlign - The pictureAlign to set

setPictureName

public void setPictureName(java.lang.String pictureName)
Sets the pictureName.

Parameters:
pictureName - The pictureName to set

setPictureText

public void setPictureText(java.lang.String pictureText)
Sets the pictureText.

Parameters:
pictureText - The pictureText to set

setPublishingDate

public void setPublishingDate(java.lang.String publishingDate)
Sets the publishingDate.

Parameters:
publishingDate - The publishingDate to set

setRank

public void setRank(java.lang.String rank)
Sets the rank.

Parameters:
rank - The rank to set

setTextParas

public void setTextParas(java.util.List textParas)
Sets the textParas.

Parameters:
textParas - The textParas to set

setTitle

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

Parameters:
title - The title to set

IT.CappuccinoNet  
StrutsCX v0.9.1
   

© 2003, IT.CappuccinoNet.com - compiled 20030214:1425