be.personify.iam.frontend.wicket.model.common.EnumerationsModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of personify-frontend Show documentation
Show all versions of personify-frontend Show documentation
frontend library for different usages
package be.personify.iam.frontend.wicket.model.common;
import java.util.List;
import org.apache.wicket.model.util.ListModel;
public class EnumerationsModel extends ListModel {
private static final long serialVersionUID = 4862995885447822353L;
private List enums;
public EnumerationsModel(List enums) {
super();
this.enums = enums;
}
@Override
public List getObject() {
return enums;
}
public int getCount() {
return getObject().size();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy