public String getAgency() {
   if (b != null && b.getAgency() != null) return b.getAgency();
   return "";
 }
 @Override
 public String getKeyColumn() {
   return b.getId() + "";
 }
 public String getTerminal() {
   if (b != null && b.getTerminal() != null) return b.getTerminal();
   return "";
 }
 public String getStatus() {
   if (b != null && b.getStatus() != null) return b.getStatus();
   return "";
 }
 public String getAttribute() {
   if (b != null && b.getAttribute() != null) return b.getAttribute();
   return "";
 }
 public String getEnName() {
   if (b != null && b.getEnName() != null) return b.getEnName();
   return "";
 }
 public String getId() {
   if (b != null) return b.getId() + "";
   return "";
 }
 @Override
 public int compareTo(BoardingGateView o) {
   return (b.getId() + "").compareTo(o.getId());
 }
 @Override
 public String getSelectCode() {
   return b.getId() + "";
 }