pl.edu.agh.cast.data.converter
Class ConverterInputEntry

java.lang.Object
  extended by pl.edu.agh.cast.data.converter.ConverterInputEntry

public class ConverterInputEntry
extends Object

This class is used for specifying input data sets for data set converters. Each entry specifies the type of the expected data set and it's quantity. If the quantity is set to 0 then any number of data sets may be accepted.

Author:
AGH CAST Team

Constructor Summary
ConverterInputEntry(Type type, int quantity, boolean required)
          Creates a new entry.
 
Method Summary
 int getQuantity()
           
 Type getType()
           
 boolean isRequired()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterInputEntry

public ConverterInputEntry(Type type,
                           int quantity,
                           boolean required)
Creates a new entry.

Parameters:
type - the type of the specified data set
quantity - the quantity of the data sets of given type (0 - unlimited)
required - a flag indicating whether specified input is required or optional
Method Detail

getType

public final Type getType()

getQuantity

public final int getQuantity()

isRequired

public boolean isRequired()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.