org.joinedworkz.common.info.ImplementationInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-base Show documentation
Show all versions of common-base Show documentation
DSL based modeling framework - facilities common base
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