| 1 |
/*- |
| 2 |
* See the file LICENSE for redistribution information. |
| 3 |
* |
| 4 |
* Copyright (c) 2002, 2013 Oracle and/or its affiliates. All rights reserved. |
| 5 |
* |
| 6 |
*/ |
| 7 |
|
| 8 |
package com.sleepycat.persist.raw; |
| 9 |
|
| 10 |
/** |
| 11 |
* The definition of a field in a {@link RawType}. |
| 12 |
* |
| 13 |
* <p>{@code RawField} objects are thread-safe. Multiple threads may safely |
| 14 |
* call the methods of a shared {@code RawField} object.</p> |
| 15 |
* |
| 16 |
* @author Mark Hayes |
| 17 |
*/ |
| 18 |
public interface RawField { |
| 19 |
|
| 20 |
/** |
| 21 |
* Returns the name of the field. |
| 22 |
*/ |
| 23 |
String getName(); |
| 24 |
|
| 25 |
/** |
| 26 |
* Returns the type of the field, without expanding parameterized types, |
| 27 |
* or null if the type is an interface type or the Object class. |
| 28 |
*/ |
| 29 |
RawType getType(); |
| 30 |
} |