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.krad.datadictionary;
017
018
019 /**
020 * This is a description of what this class does - mpham don't forget to fill this in.
021 *
022 * @author Kuali Rice Team (rice.collab@kuali.org)
023 *
024 */
025 public class SearchingAttribute extends WorkflowAttributeMetadata {
026 private static final long serialVersionUID = -612461988789474893L;
027
028 private String businessObjectClassName;
029 private String attributeName;
030 private boolean showAttributeInSearchCriteria = true;
031 private boolean showAttributeInResultSet = false;
032
033 /**
034 * @return the businessObjectClassName
035 */
036 public String getBusinessObjectClassName() {
037 return this.businessObjectClassName;
038 }
039 /**
040 * @return the attributeName
041 */
042 public String getAttributeName() {
043 return this.attributeName;
044 }
045 /**
046 * @param businessObjectClassName the businessObjectClassName to set
047 */
048 public void setBusinessObjectClassName(String businessObjectClassName) {
049 this.businessObjectClassName = businessObjectClassName;
050 }
051 /**
052 * @param attributeName the attributeName to set
053 */
054 public void setAttributeName(String attributeName) {
055 this.attributeName = attributeName;
056 }
057 /**
058 * Returns whether this attribute should appear in the search criteria
059 * @return the showAttributeInSearchCriteria
060 */
061 public boolean isShowAttributeInSearchCriteria() {
062 return this.showAttributeInSearchCriteria;
063 }
064 /**
065 * Sets whether this attribute should appear in the search criteria
066 * @param showAttributeInSearchCriteria the showAttributeInSearchCriteria to set
067 */
068 public void setShowAttributeInSearchCriteria(
069 boolean showAttributeInSearchCriteria) {
070 this.showAttributeInSearchCriteria = showAttributeInSearchCriteria;
071 }
072 /**
073 * Returns whether this attribute should appear in the result set
074 * @return the showAttributeInResultSet
075 */
076 public boolean isShowAttributeInResultSet() {
077 return this.showAttributeInResultSet;
078 }
079 /**
080 * Sets whether this attribute should appear in the result set
081 * @param showAttributeInResultSet the showAttributeInResultSet to set
082 */
083 public void setShowAttributeInResultSet(boolean showAttributeInResultSet) {
084 this.showAttributeInResultSet = showAttributeInResultSet;
085 }
086 }