• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/raw/
1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 2002,2008 Oracle.  All rights reserved.
5 *
6 * $Id: RawField.java,v 1.1 2008/02/07 17:12:28 mark Exp $
7 */
8
9package com.sleepycat.persist.raw;
10
11/**
12 * The definition of a field in a {@link RawType}.
13 *
14 * <p>{@code RawField} objects are thread-safe.  Multiple threads may safely
15 * call the methods of a shared {@code RawField} object.</p>
16 *
17 * @author Mark Hayes
18 */
19public interface RawField {
20
21    /**
22     * Returns the name of the field.
23     */
24    String getName();
25
26    /**
27     * Returns the type of the field, without expanding parameterized types,
28     * or null if the type is an interface type or the Object class.
29     */
30    RawType getType();
31}
32