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.edl.impl;
17  
18  import org.w3c.dom.Document;
19  import org.w3c.dom.Element;
20  
21  public class TestEDLModelCompent implements EDLModelComponent {
22  
23  	protected static boolean isContacted;
24  	protected static Element configElement;
25  	
26  	public void updateDOM(Document dom, Element configElement, EDLContext edlContext) {
27  		isContacted = true;
28  		TestEDLModelCompent.configElement = configElement;
29  	}
30  
31  	public static boolean isContacted() {
32  		return isContacted;
33  	}
34  
35  	public static void setContacted(boolean isContacted) {
36  		TestEDLModelCompent.isContacted = isContacted;
37  	}
38  
39  	public static Element getConfigElement() {
40  		return configElement;
41  	}
42  
43  	public static void setConfigElement(Element configElement) {
44  		TestEDLModelCompent.configElement = configElement;
45  	}
46  
47  }