001 /** 002 * Copyright 2005-2012 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 */ 016 package org.kuali.rice.kew.definition; 017 018 import org.kuali.rice.core.api.reflect.ObjectDefinition; 019 import org.kuali.rice.kew.api.extension.ExtensionDefinition; 020 import org.kuali.rice.kew.rule.bo.RuleAttribute; 021 022 023 /** 024 * 025 * @author Kuali Rice Team (rice.collab@kuali.org) 026 */ 027 public class AttributeDefinition { 028 029 //private RuleAttribute ruleAttribute; 030 private ExtensionDefinition extensionDefinition; 031 private ObjectDefinition objectDefinition; 032 033 public AttributeDefinition(ExtensionDefinition extensionDefinition, ObjectDefinition objectDefinition) { 034 //this.ruleAttribute = ruleAttribute; 035 this.extensionDefinition = extensionDefinition; 036 this.objectDefinition = objectDefinition; 037 } 038 039 /*public RuleAttribute getRuleAttribute() { 040 return ruleAttribute; 041 } 042 043 public void setRuleAttribute(RuleAttribute ruleAttribute) { 044 this.ruleAttribute = ruleAttribute; 045 }*/ 046 047 public ObjectDefinition getObjectDefinition() { 048 return objectDefinition; 049 } 050 051 public void setObjectDefinition(ObjectDefinition objectDefinition) { 052 this.objectDefinition = objectDefinition; 053 } 054 055 public ExtensionDefinition getExtensionDefinition() { 056 return extensionDefinition; 057 } 058 059 public void setExtensionDefinition(ExtensionDefinition extensionDefinition) { 060 this.extensionDefinition = extensionDefinition; 061 } 062 063 }