01: /*
02: * Copyright (c) 1998 - 2005 Versant Corporation
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * Versant Corporation - initial API and implementation
10: */
11: package com.versant.core.common;
12:
13: import java.io.Serializable;
14:
15: /**
16: * This holds the keys and values for a map. It is stored in the State
17: * when a map field is read by the store.
18: */
19: public class MapEntries implements Serializable {
20:
21: public transient boolean preGenerated;
22:
23: /**
24: * The keys. This array will be the same size as values.
25: */
26: public Object[] keys;
27:
28: /**
29: * The values. This array will be the same size as keys.
30: */
31: public Object[] values;
32:
33: }
|