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