Ejemplo n.º 1
0
 public Object copyTo(Object target, CopyBuilder copyBuilder) {
   final THeaderFault copy =
       ((target == null) ? ((THeaderFault) createCopy()) : ((THeaderFault) target));
   {
     QName sourceMessage;
     sourceMessage = this.getMessage();
     QName copyMessage = ((QName) copyBuilder.copy(sourceMessage));
     copy.setMessage(copyMessage);
   }
   {
     String sourcePart;
     sourcePart = this.getPart();
     String copyPart = ((String) copyBuilder.copy(sourcePart));
     copy.setPart(copyPart);
   }
   {
     UseChoice sourceUse;
     sourceUse = this.getUse();
     UseChoice copyUse = ((UseChoice) copyBuilder.copy(sourceUse));
     copy.setUse(copyUse);
   }
   {
     String sourceEncodingStyle;
     sourceEncodingStyle = this.getEncodingStyle();
     String copyEncodingStyle = ((String) copyBuilder.copy(sourceEncodingStyle));
     copy.setEncodingStyle(copyEncodingStyle);
   }
   {
     String sourceNamespace;
     sourceNamespace = this.getNamespace();
     String copyNamespace = ((String) copyBuilder.copy(sourceNamespace));
     copy.setNamespace(copyNamespace);
   }
   return copy;
 }
Ejemplo n.º 2
0
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof THeaderFault)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   final THeaderFault that = ((THeaderFault) object);
   equalsBuilder.append(this.getMessage(), that.getMessage());
   equalsBuilder.append(this.getPart(), that.getPart());
   equalsBuilder.append(this.getUse(), that.getUse());
   equalsBuilder.append(this.getEncodingStyle(), that.getEncodingStyle());
   equalsBuilder.append(this.getNamespace(), that.getNamespace());
 }