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