All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.arm.model.implementation.IndexableWrapperImpl Maven / Gradle / Ivy

There is a newer version: 1.7.14
Show newest version
/**
 * 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy