nz.co.senanque.vaadin.AboutInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of madura-vaadin Show documentation
Show all versions of madura-vaadin Show documentation
Integrates Madura Objects with Vaadin applications including support for dynamic metadata changes (available choices, read/write status of fields etc).
package nz.co.senanque.vaadin;
import java.util.List;
/**
* @author Roger Parkinson
*
*/
public class AboutInfo {
private String m_applicationVersion;
private List m_versions;
public void setApplicationVersion(String applicationVersion) {
m_applicationVersion = applicationVersion;
}
public void setVersions(List versions) {
m_versions = versions;
}
public String getApplicationVersion() {
return m_applicationVersion;
}
public List getVersions() {
return m_versions;
}
public String toString() {
StringBuilder sb = new StringBuilder(m_applicationVersion);
sb.append("
");
for (String s: m_versions) {
sb.append("
");
sb.append(s);
}
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy