Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * 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;
Base implementation for Wrapper interface.
Type parameters:
  • <InnerT> – wrapped type
/** * Base implementation for Wrapper interface. * * @param <InnerT> wrapped type */
public abstract class WrapperImpl<InnerT> implements HasInner<InnerT> { private InnerT innerObject; protected WrapperImpl(InnerT innerObject) { this.innerObject = innerObject; } @Override public InnerT inner() { return this.innerObject; }
Sets the inner object of the wrapper.

(Internal use only)

Params:
  • inner – an inner object
/** * Sets the inner object of the wrapper. * <p> * (Internal use only) * @param inner an inner object */
public void setInner(InnerT inner) { this.innerObject = inner; } }