Class LabelledItem
- java.lang.Object
-
- org.openforis.collect.designer.model.LabelledItem
-
public class LabelledItem extends Object
- Author:
- S. Ricci, A. Sanchez-Paus
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLabelledItem.LabelComparator
-
Constructor Summary
Constructors Constructor Description LabelledItem(String code, String label)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelledItemgetByCode(Collection<LabelledItem> items, String code)StringgetCode()StringgetLabel()voidsetCode(String code)voidsetLabel(String label)StringtoString()
-
-
-
Method Detail
-
getByCode
public static LabelledItem getByCode(Collection<LabelledItem> items, String code)
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
-