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:
14: //other classes
15:
16: public class ConceptTagProperties {
17:
18: private String menuPath[] = null;
19:
20: //private String canBe[] = null;
21: //private String cannotBe[] = null;
22: //private boolean canBeAnything = false;
23: //private boolean inheritConstraintContext = false;
24: //private boolean allowInUnconstrainedContextOnly = false;
25: //private boolean actsAsText = false;
26:
27: private ConceptTagProperties(String inMenuPath[]) {
28: //
29: this .menuPath = inMenuPath;
30: //this.canBe = inCanBe;
31: //this.cannotBe = inCannotBe;
32: //this.canBeAnything = inCanBeAnything;
33: //this.inheritConstraintContext = inInheritConstraintContext;
34: //this.allowInUnconstrainedContextOnly =
35: // inAllowInUnconstrainedContextOnly;
36: //this.actsAsText = inActsAsText;
37: }
38:
39: public final static ConceptTagProperties newInstance(
40: String inMenuPath[]) {
41:
42: ConceptTagProperties outValue = null;
43:
44: outValue = new ConceptTagProperties(inMenuPath);
45:
46: return outValue;
47: }
48:
49: public String[] getMenuPath() {
50: return this .menuPath;
51: }
52:
53: //public String[] getCanBe() {
54: // return this.canBe;
55: //}
56: //public String[] getCannotBe() {
57: // return this.cannotBe;
58: //}
59: //public boolean isCanBeAnything() {
60: // return this.canBeAnything;
61: //}
62: //public boolean isInheritConstraintContext() {
63: // return this.inheritConstraintContext;
64: //}
65: //public boolean isAllowInUnconstrainedContextOnly() {
66: // return this.allowInUnconstrainedContextOnly;
67: //}
68: //public boolean isActsAsText() {
69: // return this.actsAsText;
70: //}
71: }
|