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

org.joinedworkz.common.info.ImplementationInfo Maven / Gradle / Ivy

There is a newer version: 1.3.51
Show newest version
package org.joinedworkz.common.info;

import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.Map;

import org.joinedworkz.core.model.CmnImplementedFeature;
import org.joinedworkz.core.model.CmnObject;

public class ImplementationInfo {

	private final Map implementedFeatureMap = new LinkedHashMap<>();

	public void putImplementation(CmnObject keyObject, CmnImplementedFeature implementedFeature) {
		implementedFeatureMap.put(keyObject, implementedFeature);
	}
	
	public Collection getImplementedFeatures() {
		return implementedFeatureMap.values();
	}

	public CmnImplementedFeature getImplementedFeature(CmnObject keyObject) {
		return implementedFeatureMap.get(keyObject);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy