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

application.common.FactoryPropertiesAdapter Maven / Gradle / Ivy

package application.common;

import org.daisy.dotify.api.factory.FactoryProperties;

public class FactoryPropertiesAdapter extends NiceName implements Comparable {
	private final FactoryProperties p;
	public FactoryPropertiesAdapter(FactoryProperties p) {
		super(p.getIdentifier(), p.getDisplayName(), p.getDescription());
		this.p = p;
	}
	
	public FactoryProperties getProperties() {
		return p;
	}
	
	@Override
	public int compareTo(FactoryPropertiesAdapter o) {
		return p.getDisplayName().compareTo(o.p.getDisplayName());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy