Coverage Report - org.kuali.rice.kns.util.ColumnMetadata
 
Classes in this File Line Coverage Branch Coverage Complexity
ColumnMetadata
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * Copyright 2007-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.util;
 18  
 
 19  
 import java.io.Serializable;
 20  
 
 21  
 /**
 22  
  * This class contains metadata about a column known to the persistence service.
 23  
  * 
 24  
  * 
 25  
  */
 26  
 public class ColumnMetadata implements Serializable {
 27  
     private static final long serialVersionUID = 8489177684323721566L;
 28  
     private String tableName;
 29  
     private String columnName;
 30  
     private Integer size;
 31  
 
 32  
     public String toString() {
 33  0
         return tableName + "." + columnName + "(" + size + ")";
 34  
     }
 35  
 
 36  0
     public ColumnMetadata() {
 37  0
     }
 38  
 
 39  
 
 40  
     public String getColumnName() {
 41  0
         return this.columnName;
 42  
     }
 43  
 
 44  
     public void setColumnName(String columnName) {
 45  0
         this.columnName = columnName;
 46  0
     }
 47  
 
 48  
     public Integer getSize() {
 49  0
         return this.size;
 50  
     }
 51  
 
 52  
     public void setSize(Integer size) {
 53  0
         this.size = size;
 54  0
     }
 55  
 
 56  
     public String getTableName() {
 57  0
         return this.tableName;
 58  
     }
 59  
 
 60  
     public void setTableName(String tableName) {
 61  0
         this.tableName = tableName;
 62  0
     }
 63  
 }