001: /*
002: * Copyright 2006 The Kuali Foundation.
003: *
004: * Licensed under the Educational Community License, Version 1.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/ecl1.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.core.datadictionary;
017:
018: import java.io.Serializable;
019:
020: public class HeaderNavigation extends DataDictionaryDefinitionBase
021: implements Serializable {
022:
023: private String headerTabMethodToCall;
024: private String headerTabNavigateTo;
025: private String headerTabDisplayName;
026: private HelpDefinition helpDefinition;
027: private boolean disabled;
028:
029: public HeaderNavigation() {
030: };
031:
032: public HeaderNavigation(String headerTabNavigateTo,
033: String headerTabDisplayName) {
034: this .headerTabNavigateTo = headerTabNavigateTo;
035: this .headerTabDisplayName = headerTabDisplayName;
036: this .disabled = false;
037: }
038:
039: /**
040: * Gets the navigationKey attribute.
041: *
042: * @return Returns the navigationKey.
043: */
044: public String getHeaderTabMethodToCall() {
045: return headerTabMethodToCall;
046: }
047:
048: /**
049: * Sets the navigationKey attribute value.
050: *
051: * @param navigationKey The navigationKey to set.
052: */
053: public void setHeaderTabMethodToCall(String navigationKey) {
054: this .headerTabMethodToCall = navigationKey;
055: }
056:
057: /**
058: * Gets the navigationStyle attribute.
059: *
060: * @return Returns the navigationStyle.
061: */
062: public String getHeaderTabDisplayName() {
063: return headerTabDisplayName;
064: }
065:
066: /**
067: * Sets the navigationStyle attribute value.
068: *
069: * @param navigationStyle The navigationStyle to set.
070: */
071: public void setHeaderTabDisplayName(String headerTabDisplayName) {
072: this .headerTabDisplayName = headerTabDisplayName;
073: }
074:
075: /**
076: * Gets the suffix attribute.
077: *
078: * @return Returns the suffix.
079: */
080: public String getHeaderTabNavigateTo() {
081: return headerTabNavigateTo;
082: }
083:
084: public HelpDefinition getHelpDefinition() {
085: return helpDefinition;
086: }
087:
088: public void setHelpDefinition(HelpDefinition helpDefinition) {
089: this .helpDefinition = helpDefinition;
090: }
091:
092: /**
093: * Sets the suffix attribute value.
094: *
095: * @param suffix The suffix to set.
096: */
097: public void setHeaderTabNavigateTo(String suffix) {
098: this .headerTabNavigateTo = suffix;
099: }
100:
101: public boolean isDisabled() {
102: return disabled;
103: }
104:
105: public void setDisabled(boolean disabled) {
106: this .disabled = disabled;
107: }
108:
109: /**
110: * @see org.kuali.core.datadictionary.DataDictionaryDefinition#completeValidation(java.lang.Class, java.lang.Class)
111: */
112: public void completeValidation(Class rootBusinessObjectClass,
113: Class otherBusinessObjectClass,
114: ValidationCompletionUtils validationCompletionUtils) {
115: // No real validation to be done here other than perhaps checking to be
116: // sure that the security workgroup is a valid workgroup.
117: }
118: }
|