List of usage examples for org.apache.commons.lang3.builder EqualsBuilder append
public EqualsBuilder append(final boolean[] lhs, final boolean[] rhs)
Deep comparison of array of boolean
.
From source file:de.bstreit.java.oscr.business.base.finance.tax.VATClass.java
@Override protected void additionalEqualsForSubclasses(EqualsBuilder equalsBuilder, VATClass otherObject) { equalsBuilder.append(designation, otherObject.designation); }
From source file:de.bstreit.java.oscr.business.taxation.TaxInfo.java
@Override protected void additionalEqualsForSubclasses(EqualsBuilder equalsBuilder, TaxInfo otherObject) { equalsBuilder.append(denotation, otherObject.denotation); }
From source file:de.perdian.apps.dashboard.mvc.modules.jenkins.JenkinsControllerRequest.java
@Override public boolean equals(Object that) { if (that instanceof JenkinsControllerRequest) { JenkinsControllerRequest thatRequest = (JenkinsControllerRequest) that; EqualsBuilder equalsBuilder = new EqualsBuilder(); equalsBuilder.append(this.getJobName(), thatRequest.getJobName()); equalsBuilder.append(this.getPassword(), thatRequest.getPassword()); equalsBuilder.append(this.getUrl(), thatRequest.getUrl()); equalsBuilder.append(this.getUsername(), thatRequest.getUsername()); return equalsBuilder.isEquals(); } else {//from w w w .jav a 2 s. c o m return false; } }
From source file:de.perdian.apps.dashboard.mvc.modules.sonar.SonarControllerRequest.java
@Override public boolean equals(Object that) { if (that instanceof SonarControllerRequest) { SonarControllerRequest thatRequest = (SonarControllerRequest) that; EqualsBuilder equalsBuilder = new EqualsBuilder(); equalsBuilder.append(this.getPassword(), thatRequest.getPassword()); equalsBuilder.append(this.getProjectName(), thatRequest.getProjectName()); equalsBuilder.append(this.getUrl(), thatRequest.getUrl()); equalsBuilder.append(this.getUsername(), thatRequest.getUsername()); return equalsBuilder.isEquals(); } else {//w w w .j a v a 2s . c o m return false; } }
From source file:concept.model.Fact.java
@Override public boolean equals(Object obj) { if (this == obj) { return true; }/* w w w . ja v a2 s.c om*/ if (!(obj instanceof Fact)) { return false; } final Fact other = (Fact) obj; final EqualsBuilder builder = new EqualsBuilder(); builder.append(this.getName(), other.getName()); builder.append(this.getMatcher(), other.getMatcher()); return builder.isEquals(); }
From source file:gov.ca.cwds.cals.service.dto.LicenseStatusTypeDto.java
@Override public boolean equals(Object obj) { if (obj == null) { return false; }/*from www. jav a 2s . co m*/ if (obj == this) { return true; } if (obj.getClass() != getClass()) { return false; } LicenseStatusTypeDto licenseStatusTypeDto = (LicenseStatusTypeDto) obj; EqualsBuilder equalsBuilder = new EqualsBuilder(); equalsBuilder.appendSuper(super.equals(obj)); equalsBuilder.append(isActive, licenseStatusTypeDto.isActive); return equalsBuilder.isEquals(); }
From source file:com.github.jgility.core.planning.Iteration.java
@Override public boolean equals(Object obj) { if (obj instanceof Iteration) { Iteration plan = (Iteration) obj; EqualsBuilder builder = new EqualsBuilder(); builder.append(iterationBacklog, plan.iterationBacklog); return builder.isEquals() && super.equals(obj); }/* w w w.j av a2 s. c o m*/ return false; }
From source file:com.jdom.get.stuff.done.domain.DueWithinDatesFilterOption.java
@Override public boolean equals(Object obj) { if (obj instanceof DueWithinDatesFilterOption) { DueWithinDatesFilterOption other = (DueWithinDatesFilterOption) obj; EqualsBuilder eqBuilder = new EqualsBuilder(); eqBuilder.append(this.earliest, other.earliest); eqBuilder.append(this.latest, other.latest); return eqBuilder.isEquals(); }// w w w . j a v a 2s .c o m return false; }
From source file:com.norconex.committer.core.FileDeleteOperation.java
@Override public boolean equals(Object obj) { if (this == obj) { return true; }/* w w w .ja v a2 s . co m*/ if (obj == null) { return false; } if (!(obj instanceof FileDeleteOperation)) { return false; } FileDeleteOperation other = (FileDeleteOperation) obj; EqualsBuilder equalsBuilder = new EqualsBuilder(); equalsBuilder.append(reference, other.reference); equalsBuilder.append(refFile, other.refFile); return equalsBuilder.isEquals(); }
From source file:com.hypersocket.realm.Principal.java
protected void doEqualsOnKeys(EqualsBuilder builder, Object obj) { Principal r = (Principal) obj; builder.append(getRealm(), r.getRealm()); builder.append(getName(), r.getName()); }