public class CDBSubcategory extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
code |
protected SortedMap<String,CDBFeature> |
featuresByCode |
protected String |
label |
Constructor and Description |
---|
CDBSubcategory(String code,
String label) |
Modifier and Type | Method and Description |
---|---|
void |
add(CDBFeature feature)
Adds the given feature to this subcategory
|
String |
getCode() |
CDBFeature |
getFeature(String featureCode) |
SortedMap<String,CDBFeature> |
getFeatures() |
String |
getLabel() |
boolean |
hasFeature(String featureCode) |
void |
setCode(String code) |
void |
setLabel(String label) |
protected String code
protected String label
protected SortedMap<String,CDBFeature> featuresByCode
public String getCode()
public void setCode(String code)
code
- the code to setpublic String getLabel()
public void setLabel(String label)
label
- the label to setpublic SortedMap<String,CDBFeature> getFeatures()
public boolean hasFeature(String featureCode)
public void add(CDBFeature feature)
feature
- public CDBFeature getFeature(String featureCode)
Copyright © 2018. All rights reserved.