AttributeMetadata, BindableMetadatapublic class CommonMetadata extends Object
BindableMetadata and AttributeMetadata.| Modifier and Type | Field | Description |
|---|---|---|
protected String |
description |
|
protected String |
label |
|
protected String |
title |
| Constructor | Description |
|---|---|
CommonMetadata() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDescription() |
A longer, possibly multi sentence, description of the element.
|
String |
getLabel() |
A short label for the element which can be presented as the label of the
corresponding UI component.
|
String |
getLabelOrTitle() |
Returns the label if it is not-
null, otherwise returns title. |
String |
getTitle() |
A one sentence summary of the element.
|
void |
setDescription(String plainTextDescription) |
|
void |
setLabel(String label) |
|
void |
setTitle(String title) |
protected String title
protected String label
protected String description
public String getTitle()
public void setTitle(String title)
public String getLabel()
public void setLabel(String label)
public String getLabelOrTitle()
null, otherwise returns title.public String getDescription()
public void setDescription(String plainTextDescription)
Copyright © 2018 Carrot2.org. All rights reserved.