All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.hyperjaxb3.item.DefaultItemList Maven / Gradle / Ivy

The newest version!
package org.jvnet.hyperjaxb3.item;

import java.io.Serializable;
import java.util.List;

public class DefaultItemList> extends
		AbstractItemList implements Serializable {

	private static final long serialVersionUID = -1941259574287915806L;
	private final Class itemClass;

	public DefaultItemList(List core,
			final Class itemClass) {
		super(core);
		this.itemClass = itemClass;
	}

	public Class getItemClass() {
		return itemClass;
	}

	public ItemType create(ListType item) {
		return ItemUtils.create(getItemClass(), item);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy