@Test public void cloneAsVersionTest() { final ABIVersion cloneVersion = ABIVersion.TEST_FUTURE_VERSION; final ReadTransactionRequest clone = OBJECT.cloneAsVersion(cloneVersion); Assert.assertEquals(cloneVersion, clone.getVersion()); Assert.assertEquals(OBJECT.getPath(), clone.getPath()); Assert.assertEquals(OBJECT.isSnapshotOnly(), clone.isSnapshotOnly()); }
@Override protected ReadTransactionRequest cloneAsVersion(final ABIVersion version) { return new ReadTransactionRequest(this, version); }
ReadTransactionRequest extends AbstractReadPathTransactionRequest<ReadTransactionRequest> { @Override protected ReadTransactionRequest cloneAsVersion(final ABIVersion version) { return new ReadTransactionRequest(this, version); } }
ReadTransactionRequest extends AbstractReadPathTransactionRequest<ReadTransactionRequest> { @Override protected ReadTransactionRequest cloneAsVersion(final ABIVersion version) { return new ReadTransactionRequest(this, version); } ReadTransactionRequest(final @NonNull TransactionIdentifier identifier, final long sequence,
            final @NonNull ActorRef replyTo, final @NonNull YangInstanceIdentifier path, final boolean snapshotOnly); private  ReadTransactionRequest(final ReadTransactionRequest request, final ABIVersion version); }
ReadTransactionRequest extends AbstractReadPathTransactionRequest<ReadTransactionRequest> { @Override protected ReadTransactionRequest cloneAsVersion(final ABIVersion version) { return new ReadTransactionRequest(this, version); } ReadTransactionRequest(final @NonNull TransactionIdentifier identifier, final long sequence,
            final @NonNull ActorRef replyTo, final @NonNull YangInstanceIdentifier path, final boolean snapshotOnly); private  ReadTransactionRequest(final ReadTransactionRequest request, final ABIVersion version);  }
ReadTransactionRequest extends AbstractReadPathTransactionRequest<ReadTransactionRequest> { @Override protected ReadTransactionRequest cloneAsVersion(final ABIVersion version) { return new ReadTransactionRequest(this, version); } ReadTransactionRequest(final @NonNull TransactionIdentifier identifier, final long sequence,
            final @NonNull ActorRef replyTo, final @NonNull YangInstanceIdentifier path, final boolean snapshotOnly); private  ReadTransactionRequest(final ReadTransactionRequest request, final ABIVersion version);   }