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.server;
12:
13: import com.versant.core.common.OID;
14: import com.versant.core.common.State;
15: import com.versant.core.common.State;
16: import com.versant.core.metadata.FetchGroup;
17:
18: /**
19: * This is a util state receiver that is used if no extra stuff is required.
20: * @keep-all
21: */
22: public class FalseStateReceiver implements StateReceiver {
23:
24: public boolean isStateRequired(OID oid, FetchGroup fetchGroup) {
25: return false;
26: }
27:
28: public void addState(OID oid, State state) {
29: }
30: }
|