com.webalgorithm.weather.vo
Class PromoVO

java.lang.Object
  |
  +--com.webalgorithm.weather.vo.PromoVO
All Implemented Interfaces:
java.io.Serializable

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

Description: Pormotional links provided by Weather.com

Copyright: Copyright (c) 2003

Company: WebAlgorithm, Inc

Version:
1.0
See Also:
Serialized Form

Field Summary
private  java.util.ArrayList links
           
 
Constructor Summary
PromoVO()
           
 
Method Summary
 void addLink(com.webalgorithm.weather.vo.LinkVO link)
          Adds a promotional link to this PormoVO object
 java.util.Iterator getLinks()
          Gets collection of LinkVO objects
 int size()
          Gets the number of LinkVO objects.
 java.lang.String toString()
          This method is usefull for debugging, it returns a formatted promotion information, which is easy to read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

links

private java.util.ArrayList links
Constructor Detail

PromoVO

public PromoVO()
Method Detail

getLinks

public java.util.Iterator getLinks()
Gets collection of LinkVO objects

Returns:
Iterator over the ArrayList of LinkVO objects;

addLink

public void addLink(com.webalgorithm.weather.vo.LinkVO link)
Adds a promotional link to this PormoVO object

Parameters:
link -

size

public int size()
Gets the number of LinkVO objects.

Returns:

toString

public java.lang.String toString()
This method is usefull for debugging, it returns a formatted promotion information, which is easy to read

Overrides:
toString in class java.lang.Object
Returns:


Copyright © 2003 WebAlgorithm, Inc All Rights Reserved.