View Javadoc

1   /**
2    * Copyright 2005-2012 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.kew.definition;
17  
18  import org.kuali.rice.core.api.reflect.ObjectDefinition;
19  import org.kuali.rice.kew.api.extension.ExtensionDefinition;
20  import org.kuali.rice.kew.rule.bo.RuleAttribute;
21  
22  
23  /**
24   *
25   * @author Kuali Rice Team (rice.collab@kuali.org)
26   */
27  public class AttributeDefinition {
28  
29      //private RuleAttribute ruleAttribute;
30  	private ExtensionDefinition extensionDefinition;
31  	private ObjectDefinition objectDefinition;
32  
33  	public AttributeDefinition(ExtensionDefinition extensionDefinition, ObjectDefinition objectDefinition) {
34          //this.ruleAttribute = ruleAttribute;
35  		this.extensionDefinition = extensionDefinition;
36  		this.objectDefinition = objectDefinition;
37  	}
38  
39      /*public RuleAttribute getRuleAttribute() {
40          return ruleAttribute;
41      }
42  
43      public void setRuleAttribute(RuleAttribute ruleAttribute) {
44          this.ruleAttribute = ruleAttribute;
45      }*/
46  
47      public ObjectDefinition getObjectDefinition() {
48  		return objectDefinition;
49  	}
50  
51  	public void setObjectDefinition(ObjectDefinition objectDefinition) {
52  		this.objectDefinition = objectDefinition;
53  	}
54  
55      public ExtensionDefinition getExtensionDefinition() {
56          return extensionDefinition;
57      }
58  
59      public void setExtensionDefinition(ExtensionDefinition extensionDefinition) {
60          this.extensionDefinition = extensionDefinition;
61      }
62      
63  }