public class CommonMetadata extends Object
BindableMetadata and AttributeMetadata.| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
label |
protected String |
title |
| Constructor and Description |
|---|
CommonMetadata() |
| Modifier and Type | Method and 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 © 2013 Carrot2.org. All Rights Reserved.