KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > server > FalseStateReceiver


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.server;
13
14 import com.versant.core.common.OID;
15 import com.versant.core.common.State;
16 import com.versant.core.common.State;
17 import com.versant.core.metadata.FetchGroup;
18
19 /**
20  * This is a util state receiver that is used if no extra stuff is required.
21  * @keep-all
22  */

23 public class FalseStateReceiver implements StateReceiver {
24
25     public boolean isStateRequired(OID oid, FetchGroup fetchGroup) {
26         return false;
27     }
28
29     public void addState(OID oid, State state) {
30     }
31 }
32
Popular Tags