Package nl.paston.apollon.model
Class CoverCategory
- java.lang.Object
-
- nl.paston.apollon.model.CoverCategory
-
- All Implemented Interfaces:
Serializable
@Entity public class CoverCategory extends Object implements Serializable
Standalone entity used to determine cover category for particular cover type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoverCategory.Category
-
Field Summary
Fields Modifier and Type Field Description static StringFIND_BY_COVER_TYPE
-
Constructor Summary
Constructors Constructor Description CoverCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)CoverCategory.CategorygetCategory()IntegergetCode()StringgetCoverType()StringgetDescription()inthashCode()booleanisEnabled()voidsetCategory(CoverCategory.Category category)voidsetCode(Integer code)voidsetCoverType(String coverType)voidsetDescription(String description)voidsetEnabled(boolean enabled)StringtoString()
-
-
-
Field Detail
-
FIND_BY_COVER_TYPE
public static final String FIND_BY_COVER_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCoverType
public String getCoverType()
-
getDescription
public String getDescription()
-
getCategory
public CoverCategory.Category getCategory()
-
isEnabled
public boolean isEnabled()
-
getCode
public Integer getCode()
-
setCoverType
public void setCoverType(String coverType)
-
setDescription
public void setDescription(String description)
-
setCategory
public void setCategory(CoverCategory.Category category)
-
setEnabled
public void setEnabled(boolean enabled)
-
setCode
public void setCode(Integer code)
-
canEqual
protected boolean canEqual(Object other)
-
-