View Javadoc

1   /**
2    * $Id: Item.java 32 2006-10-26 04:12:52Z maldito_orco $
3    * $Revision: 32 $
4    * $Date: 2006-10-26 01:12:52 -0300 (Thu, 26 Oct 2006) $
5    *
6    * =========================================================================
7    *
8    * Copyright 2005 Tubo
9    *
10   *  Licensed under the Apache License, Version 2.0 (the "License");
11   *  you may not use this file except in compliance with the License.
12   *  You may obtain a copy of the License at
13   *
14   *     http://www.apache.org/licenses/LICENSE-2.0
15   *
16   *  Unless required by applicable law or agreed to in writing, software
17   *  distributed under the License is distributed on an "AS IS" BASIS,
18   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19   *  See the License for the specific language governing permissions and
20   *  limitations under the License.
21   */
22  package org.tubo.item;
23  
24  //util
25  import java.util.Map;
26  
27  /**
28   * Created: Jun 18, 2005 7:21:47 AM
29   * Last Modification Date: $Date: 2006-10-26 01:12:52 -0300 (Thu, 26 Oct 2006) $
30   *
31   * @author jvlio (jvlio@users.sourceforge.net)
32   * @version $Revision: 32 $
33   */
34  public interface Item {
35      public static final String RCS_ID = "$Id: Item.java 32 2006-10-26 04:12:52Z maldito_orco $";
36  
37      public static final String CONSUMER_PROPERTY = "CONSUMER";
38      public static final String CONSUMER_ID_PROPERTY = "CONSUMER_ID";
39  
40      Object getConsumedRawData();
41      void setConsumedRawData(Object consumedRawData);
42  
43      Map getProperties();
44      void setProperties(Map properties);
45  
46      Object getProperty(Object key);
47      void setProperty(Object key, Object value);
48  }