View Javadoc

1   /**
2    * Copyright 2005-2011 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.agenda.contextId";
37  	}
38  
39      public static final class AgendaEditor {
40          // used for building binding paths to the custom attributes map
41          public static final String CUSTOM_ATTRIBUTES_MAP = "dataObject.customAttributesMap";
42          public static final String CUSTOM_RULE_ACTION_ATTRIBUTES_MAP = "dataObject.customRuleActionAttributesMap";
43      }
44  	
45  	public static final class Context {
46  		public static final String CONTEXT_ID ="dataObject.id";
47  		public static final String NAME = "dataObject.name";
48  		public static final String NAMESPACE = "dataObject.namespace";
49  		public static final String ATTRIBUTE_BOS = "attributeBos";
50  	}
51  
52      public static final class Term {
53          public static final String TERM_ID ="dataObject.id";
54          public static final String DESCRIPTION = "dataObject.description";
55      }
56  
57      public static final class TermSpecification {
58          public static final String TERM_SPECIFICATION_ID ="dataObject.id";
59          public static final String NAME = "dataObject.name";
60      }
61  
62  	public static final class Rule {
63  		public static final String RULE_ID ="ruleId";
64          public static final String NAME = "dataObject.agendaItemLine.rule.name";
65  	}
66  
67  	public static final class KrmsAttributeDefinition {
68  		public static final String NAME = "name";
69  		public static final String NAMESPACE = "namespace";		
70  	}
71  
72  	public static final class BaseAttribute {
73  		public static final String ATTRIBUTE_DEFINITION_ID = "attributeDefinitionId";
74  		public static final String VALUE = "value";
75  		public static final String ATTRIBUTE_DEFINITION = "attributeDefinition";
76  	}
77  
78  }