View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006 Imola Informatica.
3    *  All rights reserved. This program and the accompanying materials
4    *  are made available under the terms of the LGPL License v2.1
5    *  which accompanies this distribution, and is available at
6    *  http://www.gnu.org/licenses/lgpl.html
7    *******************************************************************************/
8   /**
9    * 
10   */
11  package it.imolinfo.jbi4cics.messageformat;
12  
13  import it.imolinfo.jbi4cics.exception.FormatException;
14  
15  /**
16   * Questa e' una tag interface per individuare i FieldDescriptor.
17   * @author raffaele 
18   *
19   */
20  public interface FieldDescriptor {
21    /**
22     * @throws FormatException    The format exception
23     * @return Class    The best representing java type for this field
24     */
25    public Class getPreferredJavaType() throws FormatException;
26  }