Ejemplo n.º 1
0
 public BodyColumnTemplate getBodyColumnTemplate(DataColumnTemplate dct) {
   if (dct != null) {
     String keyName = dct.getKeyName();
     if (this.bodyColumnMap.containsKey(keyName)) {
       return this.bodyColumnMap.get(keyName);
     } else {
       BodyColumnTemplate bct = this._createBodyColumnTemplate(dct);
       this.bodyColumnMap.put(keyName, bct);
       return bct;
     }
   } else {
     Print.logStackTrace("DataColumnTemplate is null!");
     return null;
   }
 }
Ejemplo n.º 2
0
 public HeaderColumnTemplate getHeaderColumnTemplate(DataColumnTemplate dct) {
   if (dct != null) {
     String keyName = dct.getKeyName();
     if (this.headerColumnMap.containsKey(keyName)) {
       return this.headerColumnMap.get(keyName);
     } else {
       HeaderColumnTemplate hct = this._createHeaderColumnTemplate(dct);
       this.headerColumnMap.put(keyName, hct);
       return hct;
     }
   } else {
     Print.logStackTrace("DataColumnTemplate is null!");
     return null;
   }
 }