public class AttributeMetadata extends CommonMetadata
description, label, title| Constructor | Description |
|---|---|
AttributeMetadata() |
|
AttributeMetadata(String title,
String label,
String description) |
|
AttributeMetadata(String title,
String label,
String description,
String group,
AttributeLevel level) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getGroup() |
Returns the label of the group this attribute belongs to or
null if
the attribute is not assigned to any group. |
AttributeLevel |
getLevel() |
Returns the attribute level (basic, medium, advanced) or
null if the
attribute has no level assigned. |
void |
setGroup(String group) |
|
void |
setLevel(AttributeLevel level) |
|
String |
toString() |
getDescription, getLabel, getLabelOrTitle, getTitle, setDescription, setLabel, setTitlepublic AttributeMetadata()
public AttributeMetadata(String title, String label, String description, String group, AttributeLevel level)
public String getGroup()
null if
the attribute is not assigned to any group.public void setGroup(String group)
public AttributeLevel getLevel()
null if the
attribute has no level assigned.public void setLevel(AttributeLevel level)
Copyright © 2018 Carrot2.org. All rights reserved.