01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: RawField.java,v 1.8.2.2 2008/01/07 15:14:21 cwl Exp $
07: */
08:
09: package 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: */
19: public 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: }
|