KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > persist > raw > RawField


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: RawField.java,v 1.8 2006/10/30 21:14:33 bostic Exp $
7  */

8
9 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 JavaDoc 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
Popular Tags