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.jdo.query;
12:
13: import com.versant.core.metadata.FieldMetaData;
14:
15: import com.versant.lib.bcel.generic.InstructionHandle;
16:
17: public class BCField extends Field {
18:
19: public InstructionHandle ih;
20:
21: /**
22: * The type of field.
23: */
24: public Class classType;
25:
26: /**
27: * This is equivalent to MDStatics typeCode.
28: */
29: public int bcType = -1;
30:
31: public int getBcType() {
32: return bcType;
33: }
34:
35: public void setBcType(int bcType) {
36: this .bcType = bcType;
37: }
38:
39: public boolean isPrimitive() {
40: return classType.isPrimitive();
41: }
42:
43: public FieldMetaData getFMD() {
44: return null;
45: }
46: }
|