KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > jdo > query > BCField


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.jdo.query;
13
14 import com.versant.core.metadata.FieldMetaData;
15
16
17 import com.versant.lib.bcel.generic.InstructionHandle;
18
19
20 public class BCField extends Field {
21
22     public InstructionHandle ih;
23
24
25     /**
26      * The type of field.
27      */

28     public Class JavaDoc classType;
29
30     /**
31      * This is equivalent to MDStatics typeCode.
32      */

33     public int bcType = -1;
34
35     public int getBcType() {
36         return bcType;
37     }
38
39     public void setBcType(int bcType) {
40         this.bcType = bcType;
41     }
42
43     public boolean isPrimitive() {
44         return classType.isPrimitive();
45     }
46
47     public FieldMetaData getFMD() {
48         return null;
49     }
50 }
51
Popular Tags