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

org.odpi.openmetadata.accessservices.analyticsmodeling.responses.ModuleResponse Maven / Gradle / Ivy

There is a newer version: 3.15
Show newest version
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */

package org.odpi.openmetadata.accessservices.analyticsmodeling.responses;


import java.util.Arrays;
import java.util.List;

import org.odpi.openmetadata.accessservices.analyticsmodeling.model.ResponseContainerModule;

/**
 * Response for request of the Analytics Modeling module. 
 *
 */

public class ModuleResponse extends AnalyticsModelingOMASAPIResponse {

	private List data;

	/**
	 * Set module definition.
	 * @param module definition.
	 */
	public void setModule(ResponseContainerModule module) {
		data = Arrays.asList(module);
    }

	/**
	 * Get module definition.
	 * @return module definition.
	 */
	public ResponseContainerModule getModule() {
		return (data == null || data.isEmpty()) ? null : data.get(0);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy