|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.util.attribute.metadata.CommonMetadata
public class CommonMetadata
Common metadata items for BindableMetadata and AttributeMetadata.
| Field Summary | |
|---|---|
protected String |
description
|
protected String |
label
|
protected String |
title
|
| Constructor Summary | |
|---|---|
CommonMetadata()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String title
protected String label
protected String description
| Constructor Detail |
|---|
public CommonMetadata()
| Method Detail |
|---|
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)
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||