public class CategoryDefinition extends BeanDefinition implements HasCategory
Type | Property and Description |
---|---|
boolean |
hasEnabled |
DESCRIPTION_KEY, LABEL_KEY
Constructor and Description |
---|
CategoryDefinition(java.lang.String id,
CategoryDefinition category,
ExtensionBundle bundle,
DefinitionContext context) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the localized description of a defined bean, or null if none.
|
CategoryDefinition |
getCategory() |
java.lang.String |
getFeatureId() |
boolean |
hasEnabledProperty() |
java.lang.String |
label()
Gets the localized label of a defined bean, or the id if none.
|
void |
setCategory(CategoryDefinition category) |
getImplementationClass, getValue, getValues, isEnabledByDefault, setImplementationClass, setValues
addDeprecatedId, bind, equals, formattedString, formattedString, getDeprecatedIds, getElementName, getExtensionBundle, getId, getName, getStrings, hashCode, missingLabel, missingString, propertyDescription, propertyLabel, propertyString, setStrings, string, toString
getColumnNumber, getContext, getExtensionId, getLineNumber, getPublicId, getSystemId, isExtensionLoaded, log, log
hasEnabledProperty
in class BeanDefinition
public CategoryDefinition(java.lang.String id, CategoryDefinition category, ExtensionBundle bundle, DefinitionContext context)
public boolean hasEnabledProperty()
hasEnabledProperty
in class BeanDefinition
public java.lang.String getFeatureId()
public CategoryDefinition getCategory()
getCategory
in interface HasCategory
public void setCategory(CategoryDefinition category)
setCategory
in interface HasCategory
public java.lang.String label()
TopLevelDefinition
label
in class TopLevelDefinition
TopLevelDefinition.LABEL_KEY
public java.lang.String description()
TopLevelDefinition
description
in class TopLevelDefinition
TopLevelDefinition.DESCRIPTION_KEY