tim@335: package de.intevation.gnv.state.describedata;
tim@335:
tim@335: import java.util.Collection;
tim@335:
tim@335: /**
ingo@809: * This interface describes some methods to retrieve the name of this
ingo@809: * Collection
and to determine if this Collection
is a
ingo@809: * single or multiselect object.
ingo@809: *
ingo@809: * @param The objects in this class need to be of this type.
sascha@780: * @author Tim Englich
sascha@778: *
tim@335: */
tim@335: public interface NamedCollection extends Collection {
tim@335:
ingo@809: /**
ingo@809: * Returns the name of this Collection
.
ingo@809: *
ingo@809: * @return the name.
ingo@809: */
tim@335: public String getName();
tim@335:
ingo@809: /**
ingo@809: * Determines if this Collection
is a multi select object.
ingo@809: *
ingo@809: * @return true, if it is multi select, otherwise false.
ingo@809: */
tim@335: public boolean isMultiSelect();
tim@335:
ingo@809: /**
ingo@809: * Change between single and multiselect.
ingo@809: *
ingo@809: * @param multiSelect true, if this object should be a multiselect,
ingo@809: * otherwise false.
ingo@809: */
tim@335: public void setMultiSelect(boolean multiSelect);
tim@335: }
sascha@836: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :