public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getAggregation() != null) {
     _hashCode += getAggregation().hashCode();
   }
   if (getColumns() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getColumns()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getColumns(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getFilter() != null) {
     _hashCode += getFilter().hashCode();
   }
   if (getScope() != null) {
     _hashCode += getScope().hashCode();
   }
   if (getTime() != null) {
     _hashCode += getTime().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 2
0
 @Override
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getNetwork() != null) {
     _hashCode += getNetwork().hashCode();
   }
   if (getIpAddress() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getIpAddress()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getIpAddress(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getMacAddress() != null) {
     _hashCode += getMacAddress().hashCode();
   }
   _hashCode += (isConnected() ? Boolean.TRUE : Boolean.FALSE).hashCode();
   _hashCode += getDeviceConfigId();
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 3
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getErrorCode() != null) {
     _hashCode += getErrorCode().hashCode();
   }
   if (getErrorMessage() != null) {
     _hashCode += getErrorMessage().hashCode();
   }
   if (getPageImages() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getPageImages()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getPageImages(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getSuccess() != null) {
     _hashCode += getSuccess().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getSrc() != null) {
     _hashCode += getSrc().hashCode();
   }
   if (getDst() != null) {
     _hashCode += getDst().hashCode();
   }
   if (getEffect() != null) {
     _hashCode += getEffect().hashCode();
   }
   if (getMechanism() != null) {
     _hashCode += getMechanism().hashCode();
   }
   if (getPubmeds() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getPubmeds()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getPubmeds(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getSpecialServiceTypes() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getSpecialServiceTypes()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getSpecialServiceTypes(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getCodDetail() != null) {
     _hashCode += getCodDetail().hashCode();
   }
   if (getDangerousGoodsDetail() != null) {
     _hashCode += getDangerousGoodsDetail().hashCode();
   }
   if (getDryIceWeight() != null) {
     _hashCode += getDryIceWeight().hashCode();
   }
   if (getSignatureOptionDetail() != null) {
     _hashCode += getSignatureOptionDetail().hashCode();
   }
   if (getPriorityAlertDetail() != null) {
     _hashCode += getPriorityAlertDetail().hashCode();
   }
   if (getAlcoholDetail() != null) {
     _hashCode += getAlcoholDetail().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 6
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getLocationName() != null) {
     _hashCode += getLocationName().hashCode();
   }
   if (getDisplayType() != null) {
     _hashCode += getDisplayType().hashCode();
   }
   if (getTargetingStatus() != null) {
     _hashCode += getTargetingStatus().hashCode();
   }
   if (getParentLocations() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getParentLocations()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getParentLocations(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 7
0
  public QMPStudent(java.lang.Object paramObj, QMPExtendedSoapSerializationEnvelope __envelope) {

    if (paramObj == null) return;
    AttributeContainer inObj = (AttributeContainer) paramObj;

    SoapObject soapObject = (SoapObject) inObj;
    if (soapObject.hasProperty("FullName")) {
      java.lang.Object obj = soapObject.getProperty("FullName");
      if (obj != null && obj.getClass().equals(SoapPrimitive.class)) {
        SoapPrimitive j = (SoapPrimitive) obj;
        if (j.toString() != null) {
          this.FullName = j.toString();
        }
      } else if (obj != null && obj instanceof String) {
        this.FullName = (String) obj;
      }
    }
    if (soapObject.hasProperty("StudentId")) {
      java.lang.Object obj = soapObject.getProperty("StudentId");
      if (obj != null && obj.getClass().equals(SoapPrimitive.class)) {
        SoapPrimitive j = (SoapPrimitive) obj;
        if (j.toString() != null) {
          this.StudentId = Integer.parseInt(j.toString());
        }
      } else if (obj != null && obj instanceof Integer) {
        this.StudentId = (Integer) obj;
      }
    }
  }
Esempio n. 8
0
  /**
   * Writes any java.lang.Object as a CORBA any.
   *
   * @param out the stream in which to write the any.
   * @param obj the object to write as an any.
   */
  public void writeAny(org.omg.CORBA.portable.OutputStream out, java.lang.Object obj) {
    org.omg.CORBA.ORB orb = out.orb();

    // Create Any
    Any any = orb.create_any();

    // Make sure we have a connected object...
    java.lang.Object newObj = Utility.autoConnect(obj, orb, false);

    if (newObj instanceof org.omg.CORBA.Object) {
      any.insert_Object((org.omg.CORBA.Object) newObj);
    } else {
      if (newObj == null) {
        // Handle the null case, including backwards
        // compatibility issues
        any.insert_Value(null, createTypeCodeForNull(orb));
      } else {
        if (newObj instanceof Serializable) {
          // If they're our Any and ORB implementations,
          // we may want to do type code related versioning.
          TypeCode tc = createTypeCode((Serializable) newObj, any, orb);
          if (tc == null) any.insert_Value((Serializable) newObj);
          else any.insert_Value((Serializable) newObj, tc);
        } else if (newObj instanceof Remote) {
          ORBUtility.throwNotSerializableForCorba(newObj.getClass().getName());
        } else {
          ORBUtility.throwNotSerializableForCorba(newObj.getClass().getName());
        }
      }
    }

    out.write_any(any);
  }
Esempio n. 9
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getIdt_solic() != null) {
     _hashCode += getIdt_solic().hashCode();
   }
   if (getDta_hra_solic() != null) {
     _hashCode += getDta_hra_solic().hashCode();
   }
   if (getSgl_sist_consumidor() != null) {
     _hashCode += getSgl_sist_consumidor().hashCode();
   }
   if (getResult() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getResult()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getResult(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   _hashCode += new Long(getId()).hashCode();
   if (getName() != null) {
     _hashCode += getName().hashCode();
   }
   if (getFullAddress() != null) {
     _hashCode += getFullAddress().hashCode();
   }
   if (getGpsCoordinates() != null) {
     _hashCode += getGpsCoordinates().hashCode();
   }
   if (getPerformances() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getPerformances()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getPerformances(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 11
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getIsActive() != null) {
     _hashCode += getIsActive().hashCode();
   }
   if (getIsEmailNotificationAllowed() != null) {
     _hashCode += getIsEmailNotificationAllowed().hashCode();
   }
   if (getExternalId() != null) {
     _hashCode += getExternalId().hashCode();
   }
   if (getOrdersUiLocalTimeZoneId() != null) {
     _hashCode += getOrdersUiLocalTimeZoneId().hashCode();
   }
   if (getCustomFieldValues() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getCustomFieldValues()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getCustomFieldValues(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 12
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   _hashCode += getLabId();
   _hashCode += getKnownLabid();
   if (getShortName() != null) {
     _hashCode += getShortName().hashCode();
   }
   if (getName() != null) {
     _hashCode += getName().hashCode();
   }
   if (getAddress() != null) {
     _hashCode += getAddress().hashCode();
   }
   if (getUrl() != null) {
     _hashCode += getUrl().hashCode();
   }
   if (getPays() != null) {
     _hashCode += getPays().hashCode();
   }
   if (getAffiliation() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getAffiliation()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getAffiliation(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getId() != null) {
     _hashCode += getId().hashCode();
   }
   if (getName() != null) {
     _hashCode += getName().hashCode();
   }
   if (getMasterCreativeId() != null) {
     _hashCode += getMasterCreativeId().hashCode();
   }
   if (getCompanionCreativeIds() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getCompanionCreativeIds()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getCompanionCreativeIds(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getLastModifiedDateTime() != null) {
     _hashCode += getLastModifiedDateTime().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getMdn() != null) {
     _hashCode += getMdn().hashCode();
   }
   if (getMsid() != null) {
     _hashCode += getMsid().hashCode();
   }
   if (getCsa() != null) {
     _hashCode += getCsa().hashCode();
   }
   if (getPricePlan() != null) {
     _hashCode += getPricePlan().hashCode();
   }
   if (getServiceList() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getServiceList()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getServiceList(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getReserveMdnId() != null) {
     _hashCode += getReserveMdnId().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 15
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getCreated() != null) {
     _hashCode += getCreated().hashCode();
   }
   if (getCreatedBy() != null) {
     _hashCode += getCreatedBy().hashCode();
   }
   if (getLastUpdated() != null) {
     _hashCode += getLastUpdated().hashCode();
   }
   if (getLastUpdatedBy() != null) {
     _hashCode += getLastUpdatedBy().hashCode();
   }
   if (getKilobytes() != null) {
     _hashCode += getKilobytes().hashCode();
   }
   if (getMimeType() != null) {
     _hashCode += getMimeType().hashCode();
   }
   if (getAssociatedGroups() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getAssociatedGroups()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getAssociatedGroups(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 16
0
 @Override
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getName() != null) {
     _hashCode += getName().hashCode();
   }
   if (getScope() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getScope()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getScope(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getDescription() != null) {
     _hashCode += getDescription().hashCode();
   }
   if (getSetting() != null) {
     _hashCode += getSetting().hashCode();
   }
   if (getConfigVersion() != null) {
     _hashCode += getConfigVersion().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 17
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getRepositoryId() != null) {
     _hashCode += getRepositoryId().hashCode();
   }
   if (getProperties() != null) {
     _hashCode += getProperties().hashCode();
   }
   if (getPolicies() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getPolicies()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getPolicies(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getAddACEs() != null) {
     _hashCode += getAddACEs().hashCode();
   }
   if (getRemoveACEs() != null) {
     _hashCode += getRemoveACEs().hashCode();
   }
   if (getExtension() != null) {
     _hashCode += getExtension().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 18
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getWuids() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getWuids()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getWuids(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getBlockTillFinishTimer() != null) {
     _hashCode += getBlockTillFinishTimer().hashCode();
   }
   if (getResetWorkflow() != null) {
     _hashCode += getResetWorkflow().hashCode();
   }
   if (getCloneWorkunit() != null) {
     _hashCode += getCloneWorkunit().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
  public BSBBiometricSignatureVerification(
      java.lang.Object paramObj, BSBExtendedSoapSerializationEnvelope __envelope) {

    if (paramObj == null) return;
    AttributeContainer inObj = (AttributeContainer) paramObj;

    SoapObject soapObject = (SoapObject) inObj;
    if (soapObject.hasProperty("dssResult")) {
      java.lang.Object j = soapObject.getProperty("dssResult");
      this.dssResult = (BSBSignatureVerification) __envelope.get(j, BSBSignatureVerification.class);
    }
    if (soapObject.hasProperty("result")) {
      java.lang.Object obj = soapObject.getProperty("result");
      if (obj != null && obj.getClass().equals(SoapPrimitive.class)) {
        SoapPrimitive j = (SoapPrimitive) obj;
        if (j.toString() != null) {
          this.result = BSBEnums.BiometricVerificationResult.fromString(j.toString());
        }
      } else if (obj != null && obj instanceof BSBEnums.BiometricVerificationResult) {
        this.result = (BSBEnums.BiometricVerificationResult) obj;
      }
    }
    if (soapObject.hasProperty("signatures")) {
      java.lang.Object j = soapObject.getProperty("signatures");
      this.signatures = new BSBArrayOfBiometricSignatureReference(j, __envelope);
    }
  }
Esempio n. 20
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getId() != null) {
     _hashCode += getId().hashCode();
   }
   if (getCreated() != null) {
     _hashCode += getCreated().hashCode();
   }
   if (getCreator() != null) {
     _hashCode += getCreator().hashCode();
   }
   if (getLabel() != null) {
     _hashCode += getLabel().hashCode();
   }
   _hashCode += (isMajor() ? Boolean.TRUE : Boolean.FALSE).hashCode();
   if (getCommentaries() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getCommentaries()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getCommentaries(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getAction() != null) {
     _hashCode += getAction().hashCode();
   }
   if (getSuperfile() != null) {
     _hashCode += getSuperfile().hashCode();
   }
   if (getSubfiles() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getSubfiles()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getSubfiles(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getBefore() != null) {
     _hashCode += getBefore().hashCode();
   }
   if (getDelete() != null) {
     _hashCode += getDelete().hashCode();
   }
   if (getRemoveSuperfile() != null) {
     _hashCode += getRemoveSuperfile().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (get_class() != null) {
     _hashCode += get_class().hashCode();
   }
   if (getName() != null) {
     _hashCode += getName().hashCode();
   }
   if (getSKU() != null) {
     _hashCode += getSKU().hashCode();
   }
   if (getTaxClass() != null) {
     _hashCode += getTaxClass().hashCode();
   }
   _hashCode += new Float(getQuantity()).hashCode();
   _hashCode += new Float(getBasePrice()).hashCode();
   _hashCode += new Float(getLineItemPrice()).hashCode();
   _hashCode += new Float(getDiscount()).hashCode();
   _hashCode += new Float(getTaxRate()).hashCode();
   _hashCode += new Float(getTaxAmount()).hashCode();
   if (getAttributes() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getAttributes()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getAttributes(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
  public DMCreateResponse(
      java.lang.Object paramObj, DMExtendedSoapSerializationEnvelope __envelope) {
    super(paramObj, __envelope);
    if (paramObj == null) return;
    AttributeContainer inObj = (AttributeContainer) paramObj;

    if (inObj instanceof SoapObject) {
      SoapObject soapObject = (SoapObject) inObj;
      int size = soapObject.getPropertyCount();
      for (int i0 = 0; i0 < size; i0++) {
        // if you have compilation error here, please use a ksoap2.jar and ExKsoap2.jar from libs
        // folder (in the generated zip file)
        PropertyInfo info = soapObject.getPropertyInfo(i0);
        java.lang.Object obj = info.getValue();
        if (info.name.equals("object")) {

          if (obj != null && obj.getClass().equals(SoapPrimitive.class)) {
            SoapPrimitive j = (SoapPrimitive) obj;
            if (j.toString() != null) {
              this._object = j.toString();
            }
          } else if (obj != null && obj instanceof String) {
            this._object = (String) obj;
          }
          continue;
        }
      }
    }
  }
Esempio n. 24
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getStartTrigger() != null) {
     _hashCode += getStartTrigger().hashCode();
   }
   if (getRepeatPeriod() != null) {
     _hashCode += getRepeatPeriod().hashCode();
   }
   if (getStopTrigger() != null) {
     _hashCode += getStopTrigger().hashCode();
   }
   if (getDuration() != null) {
     _hashCode += getDuration().hashCode();
   }
   if (getStableSetInterval() != null) {
     _hashCode += getStableSetInterval().hashCode();
   }
   if (getExtension() != null) {
     _hashCode += getExtension().hashCode();
   }
   if (get_any() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(get_any()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getDatosPersonal() != null) {
     _hashCode += getDatosPersonal().hashCode();
   }
   if (getMatrimonio() != null) {
     _hashCode += getMatrimonio().hashCode();
   }
   if (getHijo() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getHijo()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getHijo(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getSignature() != null) {
     _hashCode += getSignature().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getTitle() != null) {
     _hashCode += getTitle().hashCode();
   }
   if (getType() != null) {
     _hashCode += getType().hashCode();
   }
   if (getSort_order() != null) {
     _hashCode += getSort_order().hashCode();
   }
   _hashCode += getIs_require();
   if (getAdditional_fields() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getAdditional_fields()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getAdditional_fields(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 27
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getOutput() != null) {
     _hashCode += getOutput().hashCode();
   }
   if (getOrganism() != null) {
     _hashCode += getOrganism().hashCode();
   }
   if (getQuery() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getQuery()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getQuery(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getTmp_infile() != null) {
     _hashCode += getTmp_infile().hashCode();
   }
   if (getAll() != null) {
     _hashCode += getAll().hashCode();
   }
   if (getDistance() != null) {
     _hashCode += getDistance().hashCode();
   }
   if (get_return() != null) {
     _hashCode += get_return().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 @Override
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = super.hashCode();
   if (getNumSCSIDisks() != null) {
     _hashCode += getNumSCSIDisks().hashCode();
   }
   if (getNumSCSICdroms() != null) {
     _hashCode += getNumSCSICdroms().hashCode();
   }
   if (getNumSCSIPassthrough() != null) {
     _hashCode += getNumSCSIPassthrough().hashCode();
   }
   if (getSharing() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getSharing()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getSharing(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   _hashCode += getDefaultSharedIndex();
   if (getHotAddRemove() != null) {
     _hashCode += getHotAddRemove().hashCode();
   }
   _hashCode += getScsiCtlrUnitNumber();
   __hashCodeCalc = false;
   return _hashCode;
 }
Esempio n. 29
0
 public synchronized int hashCode() {
   if (__hashCodeCalc) {
     return 0;
   }
   __hashCodeCalc = true;
   int _hashCode = 1;
   if (getType() != null) {
     _hashCode += getType().hashCode();
   }
   if (getPriority() != null) {
     _hashCode += getPriority().hashCode();
   }
   if (getConnexion() != null) {
     _hashCode += getConnexion().hashCode();
   }
   _hashCode += getBandwidth();
   _hashCode += getBandwidthOvhToOvh();
   _hashCode += getBandwidthOvhToInternet();
   _hashCode += getBandwidthInternetToOvh();
   _hashCode += (isOver() ? Boolean.TRUE : Boolean.FALSE).hashCode();
   if (getInterfaces() != null) {
     for (int i = 0; i < java.lang.reflect.Array.getLength(getInterfaces()); i++) {
       java.lang.Object obj = java.lang.reflect.Array.get(getInterfaces(), i);
       if (obj != null && !obj.getClass().isArray()) {
         _hashCode += obj.hashCode();
       }
     }
   }
   if (getTraffic() != null) {
     _hashCode += getTraffic().hashCode();
   }
   __hashCodeCalc = false;
   return _hashCode;
 }
 private ApplicationManagerExtension getApplicationManagerExtension(
     XWikiApplication app, XWikiContext context) {
   Object xwsApp = app.getObject("XWiki.XWSApplicationClass");
   if (xwsApp != null) {
     String cName = (String) xwsApp.get("application_manager_extension");
     if (cName != null && !cName.equals("")) {
       try {
         java.lang.Object c = Class.forName(cName).newInstance();
         if (c instanceof ApplicationManagerExtension) {
           return (ApplicationManagerExtension) c;
         } else {
           String msg =
               "could not load application manager extension  "
                   + " for application [{0}], as provided class [{1}] does not"
                   + " implements ApplicationManagerExtension interface.";
           msg =
               MessageFormat.format(
                   msg, new java.lang.Object[] {app.getName(), c.getClass().getName()});
           LOG.error(msg);
         }
       } catch (Exception e) {
         LOG.error(e);
       }
     }
   }
   return null;
 }