View Javadoc

1   /*
2    * Copyright 2000-2005 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.apache.portals.graffito.jcr.persistence.collectionconverter.impl;
18  
19  import java.util.Iterator;
20  import java.util.Vector;
21  
22  import org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection;
23  
24  /*** 
25   *
26   * {@link ManageableCollection} Vector implementation 
27   * @author <a href="mailto:christophe.lombart@gmail.com">Christophe Lombart</a>
28   * 
29   */
30  public class ManageableVector extends Vector implements ManageableCollection
31  {
32  
33  	/***
34  	 * 
35  	 * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#addObject(java.lang.Object)
36  	 */
37      public void addObject(Object object)
38      {
39          this.add(object);
40      }
41  
42      /***
43       * 
44       * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#getIterator()
45       */
46      public Iterator getIterator()
47      {
48          return this.iterator();
49      }
50      
51      /***
52       * 
53       * @see org.apache.portals.graffito.jcr.persistence.collectionconverter.ManageableCollection#getSize()
54       */
55  	public int getSize()
56  	{
57  		
58  		return this.size();
59  	}
60      
61  
62  }