View Javadoc
1   /**
2    * Copyright 2005-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.rice.krms.impl.util;
17  
18  import org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionBo;
19  
20  /**
21   * This class contains constants associated with the KRMS Repository 
22   * 
23   * @author Kuali Rice Team (rice.collab@kuali.org)
24   *
25   */
26  public final class KRMSPropertyConstants {
27  
28  	public static final class Action {
29  		public static final String TYPE ="dataObject.agendaItemLineRuleAction.typeId";
30          public static final String NAME ="dataObject.agendaItemLineRuleAction.name";
31          public static final String DESCRIPTION ="dataObject.agendaItemLineRuleAction.description";
32  	}
33  
34  	public static final class Agenda {
35          public static final String NAME = "dataObject.agenda.name";
36          public static final String CONTEXT = "dataObject.contextName";
37          public static final String TYPE ="dataObject.agenda.typeId";
38  	}
39  
40      public static final class AgendaEditor {
41          // used for building binding paths to the custom attributes map
42          public static final String CUSTOM_ATTRIBUTES_MAP = "dataObject.customAttributesMap";
43          public static final String CUSTOM_RULE_ACTION_ATTRIBUTES_MAP = "dataObject.customRuleActionAttributesMap";
44      }
45  	
46  	public static final class Context {
47  		public static final String CONTEXT_ID ="dataObject.id";
48  		public static final String NAME = "dataObject.name";
49  		public static final String NAMESPACE = "dataObject.namespace";
50  		public static final String ATTRIBUTE_BOS = "attributeBos";
51  	}
52  
53      public static final class Term {
54          public static final String TERM_ID ="dataObject.id";
55          public static final String TERM_SPECIFICATION_ID ="dataObject.specificationId";
56          public static final String DESCRIPTION = "dataObject.description";
57      }
58  
59      public static final class TermSpecification {
60          public static final String CATEGORY = "dataObject.categoryId";
61          public static final String CONTEXT = "dataObject.contextId";
62          public static final String TERM_SPECIFICATION_ID ="dataObject.id";
63          public static final String NAME = "dataObject.name";
64      }
65  
66  	public static final class Rule {
67  		public static final String RULE_ID ="ruleId";
68          public static final String NAME = "dataObject.agendaItemLine.rule.name";
69          public static final String TYPE = "dataObject.agendaItemLine.rule.typeId";
70          public static final String PROPOSITION_TREE_GROUP_ID = "RuleEditorView-Tree";
71  	}
72  
73  	public static final class KrmsAttributeDefinition {
74  		public static final String NAME = "name";
75  		public static final String NAMESPACE = "namespace";		
76  	}
77  
78  	public static final class BaseAttribute {
79  		public static final String ATTRIBUTE_DEFINITION_ID = "attributeDefinitionId";
80  		public static final String VALUE = "value";
81  		public static final String ATTRIBUTE_DEFINITION = "attributeDefinition";
82  	}
83  
84  }