de.intarsys.tools.component.MetaInfoSupportAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isrt Show documentation
Show all versions of isrt Show documentation
The basic runtime tools and interfaces for intarsys components.
package de.intarsys.tools.component;
import java.util.HashMap;
import java.util.Map;
public class MetaInfoSupportAdapter implements IMetaInfoSupport {
private Map info = new HashMap();
public MetaInfoSupportAdapter(String id, String name, String version,
String vendor) {
putMetaInfo(META_ID, id);
putMetaInfo(META_NAME, name);
putMetaInfo(META_VERSION, version);
putMetaInfo(META_VENDOR, vendor);
}
public String getMetaInfo(String name) {
return info.get(name);
};
protected void putMetaInfo(String name, String value) {
info.put(name, name);
};
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy