private void getNshEntryMdType1Request(@Nonnull final NshEntry entry, @Nonnull NshAddDelEntry request) { final NshMdType1Augment nshMdType1Augment = entry.augmentation(NshMdType1Augment.class); if (nshMdType1Augment != null) { request.c1 = (int) nshMdType1Augment.getC1().longValue(); request.c2 = (int) nshMdType1Augment.getC2().longValue(); request.c3 = (int) nshMdType1Augment.getC3().longValue(); request.c4 = (int) nshMdType1Augment.getC4().longValue(); } }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof DataObject)) { return false; } if (!NshMdType1Augment.class.equals(((DataObject)obj).getImplementedInterface())) { return false; } NshMdType1Augment other = (NshMdType1Augment)obj; if (!Objects.equals(_c1, other.getC1())) { return false; } if (!Objects.equals(_c2, other.getC2())) { return false; } if (!Objects.equals(_c3, other.getC3())) { return false; } if (!Objects.equals(_c4, other.getC4())) { return false; } return true; }
public NshMdType1AugmentBuilder(NshMdType1Augment base) { this._c1 = base.getC1(); this._c2 = base.getC2(); this._c3 = base.getC3(); this._c4 = base.getC4(); }