public class CategoryMeta extends Object implements Descriptive, HasFeatures
| Constructor and Description |
|---|
CategoryMeta(String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description.
|
Map<String,Object> |
getFeatures()
Returns the features.
|
String |
getLabel()
Returns the label.
|
String |
getName()
Returns the name name.
|
void |
setDescription(String description)
Sets the description.
|
void |
setFeatures(Map<String,Object> features)
Sets the features.
|
void |
setLabel(String label)
Sets the label.
|
void |
setName(String name)
Sets the name.
|
CategoryMeta |
withDescription(String description) |
CategoryMeta |
withFeature(String name,
Object value) |
CategoryMeta |
withFeatures(Map<String,Object> features) |
CategoryMeta |
withLabel(String label) |
public CategoryMeta(String name)
public String getName()
DescriptivegetName in interface Descriptivepublic void setName(String name)
DescriptivesetName in interface Descriptivename - the name.public String getLabel()
DescriptivegetLabel in interface Descriptivepublic void setLabel(String label)
DescriptivesetLabel in interface Descriptivelabel - the label.public String getDescription()
DescriptivegetDescription in interface Descriptivepublic void setDescription(String description)
DescriptivesetDescription in interface Descriptivedescription - the description.public Map<String,Object> getFeatures()
HasFeaturesgetFeatures in interface HasFeaturesnull.public void setFeatures(Map<String,Object> features)
HasFeaturesnull.setFeatures in interface HasFeaturesfeatures - the features.public CategoryMeta withLabel(String label)
public CategoryMeta withDescription(String description)
public CategoryMeta withFeatures(Map<String,Object> features)
public CategoryMeta withFeature(String name, Object value)
Copyright © 2016–2020 Softelnet. All rights reserved.