1 /**
2 * Copyright 2005-2012 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.kns.datadictionary.control;
17
18 /**
19 The link element is used to render an HTML link control.
20 */
21 @Deprecated
22 public class LinkControlDefinition extends ControlDefinitionBase {
23 private static final long serialVersionUID = -7568912421829207545L;
24
25 protected String styleClass;
26 protected String target;
27 protected String hrefText;
28
29 public LinkControlDefinition() {
30 }
31
32 /**
33 * @see org.kuali.rice.krad.datadictionary.control.ControlDefinition#isLink()
34 */
35 public boolean isLink() {
36 return true;
37 }
38
39 /**
40 * @see java.lang.Object#toString()
41 */
42 public String toString() {
43 return this.getClass().getName();
44 }
45
46 /**
47 * @return the styleClass
48 */
49 public String getStyleClass() {
50 return this.styleClass;
51 }
52
53 /**
54 * @param styleClass the styleClass to set
55 */
56 public void setStyleClass(String styleClass) {
57 this.styleClass = styleClass;
58 }
59
60 /**
61 * @return the target
62 */
63 public String getTarget() {
64 return this.target;
65 }
66
67 /**
68 * @param target the target to set
69 */
70 public void setTarget(String target) {
71 this.target = target;
72 }
73
74 /**
75 * @return the hrefText
76 */
77 public String getHrefText() {
78 return this.hrefText;
79 }
80
81 /**
82 * @param hrefText the hrefText to set
83 */
84 public void setHrefText(String hrefText) {
85 this.hrefText = hrefText;
86 }
87
88 }