Coverage Report - ar.com.fdvs.dj.domain.DJQuery
 
Classes in this File Line Coverage Branch Coverage Complexity
DJQuery
100%
6/6
N/A
1
 
 1  
 package ar.com.fdvs.dj.domain;
 2  
 
 3  
 import ar.com.fdvs.dj.domain.entities.Entity;
 4  
 
 5  
 public class DJQuery extends DJBaseElement{
 6  
 
 7  
         private static final long serialVersionUID = Entity.SERIAL_VERSION_UID;
 8  
                 
 9  
         private String text; 
 10  
         private String language;
 11  
         
 12  
         /**
 13  
          * 
 14  
          * @param text is the query
 15  
          * @param language is the type (sql, hql, etc.), use constants from DJConstants
 16  
          */
 17  
         public DJQuery(String text, String language) {
 18  4
                 super();
 19  4
                 this.text = text;
 20  4
                 this.language = language;
 21  4
         }
 22  
         public String getText() {
 23  7
                 return text;
 24  
         }
 25  
         public String getLanguage() {
 26  7
                 return language;
 27  
         }
 28  
 
 29  
 }