Ejemplo n.º 1
0
 /** Tests for nil "tenant" element */
 public boolean isNilTenant() {
   synchronized (monitor()) {
     check_orphaned();
     com.dynatrace.easytravel.jpa.business.xsd.Tenant target = null;
     target =
         (com.dynatrace.easytravel.jpa.business.xsd.Tenant)
             get_store().find_element_user(TENANT$18, 0);
     if (target == null) return false;
     return target.isNil();
   }
 }
Ejemplo n.º 2
0
 /** Nils the "tenant" element */
 public void setNilTenant() {
   synchronized (monitor()) {
     check_orphaned();
     com.dynatrace.easytravel.jpa.business.xsd.Tenant target = null;
     target =
         (com.dynatrace.easytravel.jpa.business.xsd.Tenant)
             get_store().find_element_user(TENANT$18, 0);
     if (target == null) {
       target =
           (com.dynatrace.easytravel.jpa.business.xsd.Tenant)
               get_store().add_element_user(TENANT$18);
     }
     target.setNil();
   }
 }