@Test public void testEquals() throws Exception { assertThat(lsaWrapper.equals(new LsaWrapperImpl()), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsaWrapperImpl that = (LsaWrapperImpl) o; return Objects.equal(lsaAgeReceived, that.lsaAgeReceived) && Objects.equal(ageCounterWhenReceived, that.ageCounterWhenReceived) && Objects.equal(isSelfOriginated, that.isSelfOriginated) && Objects.equal(lsaHeader, that.lsaHeader) && Objects.equal(ospfLsa, that.ospfLsa) && Objects.equal(noReTransmissionLists, that.noReTransmissionLists) && Objects.equal(inAnAgeBin, that.inAnAgeBin) && Objects.equal(changedSinceLastFlood, that.changedSinceLastFlood) && Objects.equal(isSequenceRollOver, that.isSequenceRollOver) && Objects.equal(sentReplyForOlderLsa, that.sentReplyForOlderLsa) && Objects.equal(checkAge, that.checkAge) && Objects.equal(isAging, that.isAging) && Objects.equal(lsaProcessing, that.lsaProcessing); }
LsaWrapperImpl implements LsaWrapper { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsaWrapperImpl that = (LsaWrapperImpl) o; return Objects.equal(lsaAgeReceived, that.lsaAgeReceived) && Objects.equal(ageCounterWhenReceived, that.ageCounterWhenReceived) && Objects.equal(isSelfOriginated, that.isSelfOriginated) && Objects.equal(lsaHeader, that.lsaHeader) && Objects.equal(ospfLsa, that.ospfLsa) && Objects.equal(noReTransmissionLists, that.noReTransmissionLists) && Objects.equal(inAnAgeBin, that.inAnAgeBin) && Objects.equal(changedSinceLastFlood, that.changedSinceLastFlood) && Objects.equal(isSequenceRollOver, that.isSequenceRollOver) && Objects.equal(sentReplyForOlderLsa, that.sentReplyForOlderLsa) && Objects.equal(checkAge, that.checkAge) && Objects.equal(isAging, that.isAging) && Objects.equal(lsaProcessing, that.lsaProcessing); } }
LsaWrapperImpl implements LsaWrapper { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsaWrapperImpl that = (LsaWrapperImpl) o; return Objects.equal(lsaAgeReceived, that.lsaAgeReceived) && Objects.equal(ageCounterWhenReceived, that.ageCounterWhenReceived) && Objects.equal(isSelfOriginated, that.isSelfOriginated) && Objects.equal(lsaHeader, that.lsaHeader) && Objects.equal(ospfLsa, that.ospfLsa) && Objects.equal(noReTransmissionLists, that.noReTransmissionLists) && Objects.equal(inAnAgeBin, that.inAnAgeBin) && Objects.equal(changedSinceLastFlood, that.changedSinceLastFlood) && Objects.equal(isSequenceRollOver, that.isSequenceRollOver) && Objects.equal(sentReplyForOlderLsa, that.sentReplyForOlderLsa) && Objects.equal(checkAge, that.checkAge) && Objects.equal(isAging, that.isAging) && Objects.equal(lsaProcessing, that.lsaProcessing); }  }
LsaWrapperImpl implements LsaWrapper { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsaWrapperImpl that = (LsaWrapperImpl) o; return Objects.equal(lsaAgeReceived, that.lsaAgeReceived) && Objects.equal(ageCounterWhenReceived, that.ageCounterWhenReceived) && Objects.equal(isSelfOriginated, that.isSelfOriginated) && Objects.equal(lsaHeader, that.lsaHeader) && Objects.equal(ospfLsa, that.ospfLsa) && Objects.equal(noReTransmissionLists, that.noReTransmissionLists) && Objects.equal(inAnAgeBin, that.inAnAgeBin) && Objects.equal(changedSinceLastFlood, that.changedSinceLastFlood) && Objects.equal(isSequenceRollOver, that.isSequenceRollOver) && Objects.equal(sentReplyForOlderLsa, that.sentReplyForOlderLsa) && Objects.equal(checkAge, that.checkAge) && Objects.equal(isAging, that.isAging) && Objects.equal(lsaProcessing, that.lsaProcessing); }  int getAgeCounterRollOverWhenAdded(); void setAgeCounterRollOverWhenAdded(int ageCounterRollOverWhenAdded); OspfLsaType lsaType(); void setLsaType(OspfLsaType lsaType); boolean isSelfOriginated(); void setIsSelfOriginated(boolean isSelfOriginated); void addLsa(OspfLsaType lsaType, OspfLsa ospfLsa); int lsaAgeReceived(); void setLsaAgeReceived(int lsaAgeReceived); LsaHeader lsaHeader(); void setLsaHeader(LsaHeader lsaHeader); OspfLsa ospfLsa(); void setOspfLsa(OspfLsa ospfLsa); int noReTransmissionLists(); void setNoReTransmissionLists(int noReTransmissionLists); boolean isInAnAgeBin(); void setInAnAgeBin(boolean inAnAgeBin); boolean isChangedSinceLastFlood(); void setChangedSinceLastFlood(boolean changedSinceLastFlood); boolean isSequenceRollOver(); void setIsSequenceRollOver(boolean isSequenceRollOver); boolean isSentReplyForOlderLsa(); void setSentReplyForOlderLsa(boolean sentReplyForOlderLsa); boolean isCheckAge(); void setCheckAge(boolean checkAge); boolean isAging(); void setIsAging(boolean isAging); LsdbAge getLsdbAge(); void setLsdbAge(LsdbAge lsdbAge); int currentAge(); int ageCounterWhenReceived(); void setAgeCounterWhenReceived(int ageCounterWhenReceived); String lsaProcessing(); void setLsaProcessing(String lsaProcessing); int binNumber(); void setBinNumber(int binNumber); OspfInterface ospfInterface(); @Override void setOspfInterface(OspfInterface ospfInterface); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
LsaWrapperImpl implements LsaWrapper { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } LsaWrapperImpl that = (LsaWrapperImpl) o; return Objects.equal(lsaAgeReceived, that.lsaAgeReceived) && Objects.equal(ageCounterWhenReceived, that.ageCounterWhenReceived) && Objects.equal(isSelfOriginated, that.isSelfOriginated) && Objects.equal(lsaHeader, that.lsaHeader) && Objects.equal(ospfLsa, that.ospfLsa) && Objects.equal(noReTransmissionLists, that.noReTransmissionLists) && Objects.equal(inAnAgeBin, that.inAnAgeBin) && Objects.equal(changedSinceLastFlood, that.changedSinceLastFlood) && Objects.equal(isSequenceRollOver, that.isSequenceRollOver) && Objects.equal(sentReplyForOlderLsa, that.sentReplyForOlderLsa) && Objects.equal(checkAge, that.checkAge) && Objects.equal(isAging, that.isAging) && Objects.equal(lsaProcessing, that.lsaProcessing); }  int getAgeCounterRollOverWhenAdded(); void setAgeCounterRollOverWhenAdded(int ageCounterRollOverWhenAdded); OspfLsaType lsaType(); void setLsaType(OspfLsaType lsaType); boolean isSelfOriginated(); void setIsSelfOriginated(boolean isSelfOriginated); void addLsa(OspfLsaType lsaType, OspfLsa ospfLsa); int lsaAgeReceived(); void setLsaAgeReceived(int lsaAgeReceived); LsaHeader lsaHeader(); void setLsaHeader(LsaHeader lsaHeader); OspfLsa ospfLsa(); void setOspfLsa(OspfLsa ospfLsa); int noReTransmissionLists(); void setNoReTransmissionLists(int noReTransmissionLists); boolean isInAnAgeBin(); void setInAnAgeBin(boolean inAnAgeBin); boolean isChangedSinceLastFlood(); void setChangedSinceLastFlood(boolean changedSinceLastFlood); boolean isSequenceRollOver(); void setIsSequenceRollOver(boolean isSequenceRollOver); boolean isSentReplyForOlderLsa(); void setSentReplyForOlderLsa(boolean sentReplyForOlderLsa); boolean isCheckAge(); void setCheckAge(boolean checkAge); boolean isAging(); void setIsAging(boolean isAging); LsdbAge getLsdbAge(); void setLsdbAge(LsdbAge lsdbAge); int currentAge(); int ageCounterWhenReceived(); void setAgeCounterWhenReceived(int ageCounterWhenReceived); String lsaProcessing(); void setLsaProcessing(String lsaProcessing); int binNumber(); void setBinNumber(int binNumber); OspfInterface ospfInterface(); @Override void setOspfInterface(OspfInterface ospfInterface); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }