com.microsoft.azure.arm.model.implementation.IndexableWrapperImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-arm-client-runtime Show documentation
Show all versions of azure-arm-client-runtime Show documentation
This package contains the ARM runtime for AutoRest generated Azure Java clients.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.arm.model.implementation;
import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.model.Indexable;
/**
* The implementation for {@link Indexable} and {@link HasInner}.
*
* @param wrapped type
*/
public abstract class IndexableWrapperImpl
extends IndexableImpl
implements HasInner {
private InnerT innerObject;
protected IndexableWrapperImpl(InnerT innerObject) {
super();
this.innerObject = innerObject;
}
@Override
public InnerT inner() {
return this.innerObject;
}
/**
* Sets the inner object of the wrapper.
*
* (Internal use only)
* @param innerObject an inner object
*/
public void setInner(InnerT innerObject) {
this.innerObject = innerObject;
}
}