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

it.uniroma2.art.coda.provisioning.impl.ParameterDescriptionImpl Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package it.uniroma2.art.coda.provisioning.impl;

import com.google.common.base.MoreObjects;

import it.uniroma2.art.coda.provisioning.ParameterDescription;
import it.uniroma2.art.coda.provisioning.TypeDescription;

public class ParameterDescriptionImpl implements ParameterDescription {

	private final String name;
	private final String htmlDescription;
	private final TypeDescription typeDescription;

	public ParameterDescriptionImpl(String name, String htmlDescription, TypeDescription typeDescription) {
		this.name = name;
		this.htmlDescription = htmlDescription;
		this.typeDescription = typeDescription;
	}
	
	@Override
	public String getName() {
		return name;
	}

	@Override
	public String getHTMLDescription() {
		return htmlDescription;
	}

	@Override
	public TypeDescription getTypeDescription() {
		return typeDescription;
	}
	
	@Override
	public String toString() {
		return MoreObjects.toStringHelper(this).add("name", name).add("htmlDescription", htmlDescription)
				.add("typeDescription", typeDescription).toString();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy