class ItemFactory implements IItemFactory {

	@Override
	public Item createNewSimpleItem(final String name,
									final String alias,
						   	  		final String description,
						   	  		final String required,
						   	  		final String type,
						   	  		final String format) throws APIRestGeneratorException
	{
		Item item = this.createNewSimpleItemG1(name, alias, description, required, type, format) ;
		
		if (item == null)
		{
			item = this.createNewSimpleItemG2(name, alias, description, required, type, format) ;
		}
		
		return item ;
	}

	public  ItemFactory(final Map<String, Item> mainItemsMap);

}