
org.molgenis.catalog.CatalogModelItem Maven / Gradle / Ivy
The newest version!
package org.molgenis.catalog;
public class CatalogModelItem
{
private final String id;
private final String name;
private final boolean selected;
public CatalogModelItem(String id, String name, boolean selected)
{
if (id == null) throw new IllegalArgumentException("id is null");
if (name == null) throw new IllegalArgumentException("name is null");
this.id = id;
this.name = name;
this.selected = selected;
}
public String getId()
{
return id;
}
public String getName()
{
return name;
}
public boolean isSelected()
{
return selected;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy