01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: Enhanced0.java,v 1.4.2.2 2008/01/07 15:14:35 cwl Exp $
07: */
08:
09: package com.sleepycat.persist.test;
10:
11: import static com.sleepycat.persist.model.Relationship.MANY_TO_ONE;
12:
13: import com.sleepycat.persist.model.Entity;
14: import com.sleepycat.persist.model.PrimaryKey;
15: import com.sleepycat.persist.model.SecondaryKey;
16:
17: /**
18: * For running ASMifier -- before any enhancements.
19: */
20: @Entity
21: class Enhanced0 {
22:
23: @PrimaryKey
24: private String f1;
25:
26: @SecondaryKey(relate=MANY_TO_ONE)
27: private int f2;
28: @SecondaryKey(relate=MANY_TO_ONE)
29: private String f3;
30: @SecondaryKey(relate=MANY_TO_ONE)
31: private String f4;
32:
33: private int f5;
34: private String f6;
35: private String f7;
36: }
|