Interface IItemDescriptor<T>
-
- Type Parameters:
T- one of the item
- All Superinterfaces:
Comparable<IItemDescriptor<T>>
- All Known Implementing Classes:
AbstractItemDescriptor,DifferenceGroupDescriptorWrapper,LazyItemDescriptor,MatchEngineFactoryDescriptor,WrapperItemDescriptor
public interface IItemDescriptor<T> extends Comparable<IItemDescriptor<T>>
An item descriptor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()The description of the item.StringgetID()Get a unique key identifying this item.TgetItem()Get an instance of an item.StringgetLabel()The label of the item.intgetRank()Rank of the item.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getLabel
String getLabel()
The label of the item.- Returns:
- label of the item
-
getDescription
String getDescription()
The description of the item.- Returns:
- description of the item
-
getRank
int getRank()
Rank of the item.- Returns:
- rank
-
getID
String getID()
Get a unique key identifying this item.- Returns:
- a key
-
getItem
T getItem()
Get an instance of an item.- Returns:
- an instance of an item
-
-