Package org.gbif.api.model.collections
Class AlternativeCode
- java.lang.Object
-
- org.gbif.api.model.collections.AlternativeCode
-
- All Implemented Interfaces:
Serializable
public class AlternativeCode extends Object implements Serializable
Models a GrSciColl alternative code.It contains the code and a description to specify why this code exists.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlternativeCode()AlternativeCode(String code, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetCode()StringgetDescription()inthashCode()voidsetCode(String code)voidsetDescription(String description)StringtoString()
-
-
-
Constructor Detail
-
AlternativeCode
public AlternativeCode()
-
AlternativeCode
public AlternativeCode(String code, String description)
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
-