Package org.dspace.license
Class CCLicenseFieldEnum
- java.lang.Object
-
- org.dspace.license.CCLicenseFieldEnum
-
public class CCLicenseFieldEnum extends Object
Wrapper class for representation of a license field enum declaration. A field enum is a single "answer" to the field question
-
-
Constructor Summary
Constructors Constructor Description CCLicenseFieldEnum(String id, String label, String description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Get the description of this enumStringgetId()Get the id of this enumStringgetLabel()Get the label of this enumvoidsetDescription(String description)Set the description of this enumvoidsetId(String id)Set the id of this enumvoidsetLabel(String label)Set the label of this enum
-
-
-
Method Detail
-
getId
public String getId()
Get the id of this enum- Returns:
- the id of this enum
-
setId
public void setId(String id)
Set the id of this enum- Parameters:
id-
-
getLabel
public String getLabel()
Get the label of this enum- Returns:
- the label of this enum
-
setLabel
public void setLabel(String label)
Set the label of this enum- Parameters:
label-
-
getDescription
public String getDescription()
Get the description of this enum- Returns:
- the description of this enum
-
setDescription
public void setDescription(String description)
Set the description of this enum- Parameters:
description-
-
-