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.krad.datadictionary;
17  
18  
19  /**
20   * This is a description of what this class does - mpham don't forget to fill this in. 
21   * 
22   * @author Kuali Rice Team (rice.collab@kuali.org)
23   *
24   */
25  public class SearchingAttribute extends WorkflowAttributeMetadata {
26  	private static final long serialVersionUID = -612461988789474893L;
27  	
28  	private String businessObjectClassName; 
29  	private String attributeName;
30  	private boolean showAttributeInSearchCriteria = true;
31  	private boolean showAttributeInResultSet = false;
32  	
33  	/**
34  	 * @return the businessObjectClassName
35  	 */
36  	public String getBusinessObjectClassName() {
37  		return this.businessObjectClassName;
38  	}
39  	/**
40  	 * @return the attributeName
41  	 */
42  	public String getAttributeName() {
43  		return this.attributeName;
44  	}
45  	/**
46  	 * @param businessObjectClassName the businessObjectClassName to set
47  	 */
48  	public void setBusinessObjectClassName(String businessObjectClassName) {
49  		this.businessObjectClassName = businessObjectClassName;
50  	}
51  	/**
52  	 * @param attributeName the attributeName to set
53  	 */
54  	public void setAttributeName(String attributeName) {
55  		this.attributeName = attributeName;
56  	}
57  	/**
58  	 * Returns whether this attribute should appear in the search criteria
59  	 * @return the showAttributeInSearchCriteria
60  	 */
61  	public boolean isShowAttributeInSearchCriteria() {
62  		return this.showAttributeInSearchCriteria;
63  	}
64  	/**
65  	 * Sets whether this attribute should appear in the search criteria
66  	 * @param showAttributeInSearchCriteria the showAttributeInSearchCriteria to set
67  	 */
68  	public void setShowAttributeInSearchCriteria(
69  			boolean showAttributeInSearchCriteria) {
70  		this.showAttributeInSearchCriteria = showAttributeInSearchCriteria;
71  	}
72  	/**
73  	 * Returns whether this attribute should appear in the result set
74  	 * @return the showAttributeInResultSet
75  	 */
76  	public boolean isShowAttributeInResultSet() {
77  		return this.showAttributeInResultSet;
78  	}
79  	/**
80  	 * Sets whether this attribute should appear in the result set
81  	 * @param showAttributeInResultSet the showAttributeInResultSet to set
82  	 */
83  	public void setShowAttributeInResultSet(boolean showAttributeInResultSet) {
84  		this.showAttributeInResultSet = showAttributeInResultSet;
85  	}
86  }