コード例 #1
0
ファイル: THeaderFault.java プロジェクト: vitlav/siu
 public boolean equals(Object object) {
   if (!(object instanceof THeaderFault)) {
     return false;
   }
   if (this == object) {
     return true;
   }
   final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
   equals(object, equalsBuilder);
   return equalsBuilder.isEquals();
 }
コード例 #2
0
ファイル: Keybase.java プロジェクト: vitlav/siu
 public void equals(Object object, EqualsBuilder equalsBuilder) {
   if (!(object instanceof Keybase)) {
     equalsBuilder.appendSuper(false);
     return;
   }
   if (this == object) {
     return;
   }
   super.equals(object, equalsBuilder);
   final Keybase that = ((Keybase) object);
   equalsBuilder.append(this.getSelector(), that.getSelector());
   equalsBuilder.append(this.getField(), that.getField());
   equalsBuilder.append(this.getName(), that.getName());
 }
コード例 #3
0
ファイル: THeaderFault.java プロジェクト: vitlav/siu
 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());
 }