001/**
002 * Copyright 2005-2015 The Kuali Foundation
003 *
004 * Licensed under the Educational Community License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.opensource.org/licenses/ecl2.php
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016package org.kuali.rice.krms.impl.util;
017
018import org.kuali.rice.krms.impl.repository.KrmsAttributeDefinitionBo;
019
020/**
021 * This class contains constants associated with the KRMS Repository 
022 * 
023 * @author Kuali Rice Team (rice.collab@kuali.org)
024 *
025 */
026public final class KRMSPropertyConstants {
027
028        public static final class Action {
029                public static final String TYPE ="dataObject.agendaItemLineRuleAction.typeId";
030        public static final String NAME ="dataObject.agendaItemLineRuleAction.name";
031        public static final String DESCRIPTION ="dataObject.agendaItemLineRuleAction.description";
032        }
033
034        public static final class Agenda {
035        public static final String NAME = "dataObject.agenda.name";
036        public static final String CONTEXT = "dataObject.contextName";
037        public static final String TYPE ="dataObject.agenda.typeId";
038        }
039
040    public static final class AgendaEditor {
041        // used for building binding paths to the custom attributes map
042        public static final String CUSTOM_ATTRIBUTES_MAP = "dataObject.customAttributesMap";
043        public static final String CUSTOM_RULE_ACTION_ATTRIBUTES_MAP = "dataObject.customRuleActionAttributesMap";
044    }
045        
046        public static final class Context {
047                public static final String CONTEXT_ID ="dataObject.id";
048                public static final String NAME = "dataObject.name";
049                public static final String NAMESPACE = "dataObject.namespace";
050                public static final String ATTRIBUTE_BOS = "attributeBos";
051        }
052
053    public static final class Term {
054        public static final String TERM_ID ="dataObject.id";
055        public static final String TERM_SPECIFICATION_ID ="dataObject.specificationId";
056        public static final String DESCRIPTION = "dataObject.description";
057    }
058
059    public static final class TermSpecification {
060        public static final String CATEGORY = "dataObject.categoryId";
061        public static final String CONTEXT = "dataObject.contextId";
062        public static final String TERM_SPECIFICATION_ID ="dataObject.id";
063        public static final String NAME = "dataObject.name";
064    }
065
066        public static final class Rule {
067                public static final String RULE_ID ="ruleId";
068        public static final String NAME = "dataObject.agendaItemLine.rule.name";
069        public static final String TYPE = "dataObject.agendaItemLine.rule.typeId";
070        public static final String PROPOSITION_TREE_GROUP_ID = "RuleEditorView-Tree";
071        }
072
073        public static final class KrmsAttributeDefinition {
074                public static final String NAME = "name";
075                public static final String NAMESPACE = "namespace";             
076        }
077
078        public static final class BaseAttribute {
079                public static final String ATTRIBUTE_DEFINITION_ID = "attributeDefinitionId";
080                public static final String VALUE = "value";
081                public static final String ATTRIBUTE_DEFINITION = "attributeDefinition";
082        }
083
084}