View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Abstraction of object that accepts multi values.
5    * <br />
6    * See {@link GB_ValuesOwnerSet} to abstraction with setter methods.
7    *
8    * @author Grégory Borelli
9    */
10  public interface GB_ValuesOwner
11  {
12      /***
13       * Get the value with the index <tt>a_index</tt>.
14       *
15       * @param a_index int - the index of the value
16       *
17       * @return Object
18       */
19      Object getValueItem(
20              int a_index);
21  
22      /***
23       * Return the count of the values.
24       *
25       * @return int
26       */
27      int getValueItemCount();
28  
29  }