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

de.mklinger.qetcher.client.model.v1.builder.AvailableConversionsBuilder Maven / Gradle / Ivy

The newest version!
package de.mklinger.qetcher.client.model.v1.builder;

import java.util.List;

import de.mklinger.qetcher.client.model.v1.AvailableConversion;
import de.mklinger.qetcher.client.model.v1.AvailableConversions;
import de.mklinger.qetcher.client.model.v1.impl.AvailableConversionsImpl;

/**
 * @author Marc Klinger - mklinger[at]mklinger[dot]de
 */
public class AvailableConversionsBuilder {
	private List availableConversions;

	public static AvailableConversionsBuilder of(final AvailableConversions availableConversions) {
		return new AvailableConversionsBuilder()
				.availableConversions(availableConversions.getAvailableConversions());
	}

	public AvailableConversionsBuilder availableConversions(final List availableConversions) {
		this.availableConversions = availableConversions;
		return this;
	}

	public List getAvailableConversions() {
		return availableConversions;
	}

	public AvailableConversions build() {
		return new AvailableConversionsImpl(this);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy