01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.tagging;
09:
10: //base classes
11:
12: //project specific classes
13: import org.jfolder.common.utils.misc.MiscHelper;
14:
15: //other classes
16:
17: public abstract class BaseDetermineClassConceptTagContext extends
18: BaseConceptTagCallContext implements
19: DetermineClassConceptTagContext {
20:
21: private Class c = null;
22: private Exception e = null;
23:
24: protected BaseDetermineClassConceptTagContext(
25: ConceptTagPreferences inCtp, ConceptTagFlags inCtf) {
26: //
27: super (inCtp, inCtf);
28: }
29:
30: public void reset() {
31: this .c = Object.class;
32: this .e = null;
33: }
34:
35: //
36: public boolean isDetermineClassPresent() {
37: return (this .c != null);
38: }
39:
40: public void setDetermineClass(Class inClass) {
41: this .c = inClass;
42: }
43:
44: public Class getDetermineClass() {
45:
46: return this .c;
47: }
48:
49: //
50: public boolean isDetermineExceptionPresent() {
51: return (this .e != null);
52: }
53:
54: public void setDetermineException(Exception inException) {
55: this .e = inException;
56: }
57:
58: public Exception getDetermineException() {
59: return this .e;
60: }
61:
62: public void pushStatus() {
63: MiscHelper
64: .println("DetermineClassConceptTagContext pushStatus NotImp");
65: }
66:
67: public void popStatus() {
68: MiscHelper
69: .println("DetermineClassConceptTagContext popStatus NotImp");
70: }
71: }
|