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.kns.datadictionary.control;
017
018 /**
019 The link element is used to render an HTML link control.
020 */
021 @Deprecated
022 public class LinkControlDefinition extends ControlDefinitionBase {
023 private static final long serialVersionUID = -7568912421829207545L;
024
025 protected String styleClass;
026 protected String target;
027 protected String hrefText;
028
029 public LinkControlDefinition() {
030 }
031
032 /**
033 * @see org.kuali.rice.krad.datadictionary.control.ControlDefinition#isLink()
034 */
035 public boolean isLink() {
036 return true;
037 }
038
039 /**
040 * @see java.lang.Object#toString()
041 */
042 public String toString() {
043 return this.getClass().getName();
044 }
045
046 /**
047 * @return the styleClass
048 */
049 public String getStyleClass() {
050 return this.styleClass;
051 }
052
053 /**
054 * @param styleClass the styleClass to set
055 */
056 public void setStyleClass(String styleClass) {
057 this.styleClass = styleClass;
058 }
059
060 /**
061 * @return the target
062 */
063 public String getTarget() {
064 return this.target;
065 }
066
067 /**
068 * @param target the target to set
069 */
070 public void setTarget(String target) {
071 this.target = target;
072 }
073
074 /**
075 * @return the hrefText
076 */
077 public String getHrefText() {
078 return this.hrefText;
079 }
080
081 /**
082 * @param hrefText the hrefText to set
083 */
084 public void setHrefText(String hrefText) {
085 this.hrefText = hrefText;
086 }
087
088 }