Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/lilacsoftware/orca/QueueForm.java


1   /*
2    *  ____________________________________________________________________________
3    *  Orca - Audio System
4    *  Copyright (C) 2001 Tom Wadzinski <orca_twadzins@yahoo.com>
5    *  This program is free software; you can redistribute it and/or modify
6    *  it under the terms of the GNU General Public License as published by
7    *  the Free Software Foundation; either version 2 of the License, or
8    *  (at your option) any later version.
9    *  This program is distributed in the hope that it will be useful,
10   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   *  GNU General Public License for more details.
13   *  You should have received a copy of the GNU General Public License
14   *  along with this program; if not, write to the Free Software
15   *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16   *  ____________________________________________________________________________
17   */
18  package com.lilacsoftware.orca;
19  import java.util.ArrayList;
20  
21  import java.util.List;
22  import java.util.Vector;
23  import org.apache.struts.action.ActionForm;
24  
25  /**
26   *  Description of the Class
27   *
28   *@author     user
29   *@created    November 15, 2001
30   */
31  public class QueueForm extends ActionForm
32  {
33  
34      //ArrayList artistList;
35      Vector queue;
36      String anchor;
37  
38  
39      /**
40       *  Set the value of queue.
41       *
42       *@param  v  Value to assign to queue.
43       *@since
44       */
45      public void setQueue( Vector v )
46      {
47          this.queue = v;
48      }
49  
50  
51      /**
52       *  Sets the anchor attribute of the QueueForm object
53       *
54       *@param  anchor  The new anchor value
55       *@since
56       */
57      public void setAnchor( String anchor )
58      {
59          this.anchor = anchor;
60      }
61  
62  
63      /**
64       *  Get the value of queue.
65       *
66       *@return    value of queue.
67       *@since
68       */
69      public Vector getQueue()
70      {
71          return queue;
72      }
73  
74  
75      /**
76       *  Gets the anchor attribute of the QueueForm object
77       *
78       *@return    The anchor value
79       *@since
80       */
81      public String getAnchor()
82      {
83          return anchor;
84      }
85  }
86