com.salesforce.android.knowledge.core.model.ArticleDetails.Field |
A ArticleDetails.Field
is a piece of information inside an article. Fields can be entered when
creating an article in Salesforce Knowledge.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
@interface | ArticleDetails.Field.Type | IntDef for the field types. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_LONG_TEXT_AREA | The field contains content from a long text area. | |||||||||
int | TYPE_RICH_TEXT | The field contains content from a rich text editor. | |||||||||
int | TYPE_TEXT | The field contains plain-text content. | |||||||||
int | TYPE_TEXT_AREA | The field contains content from a text area. | |||||||||
int | TYPE_UNKNOWN | The field is any type not included in the other values. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract String |
getLabel()
The human-readable label for the field.
| ||||||||||
abstract String |
getName()
The API name for the field.
| ||||||||||
abstract int |
getType()
The type of content contained in this field.
| ||||||||||
abstract String |
getValue()
The value, or content, of a field.
|
The field contains content from a long text area.
The field contains content from a rich text editor.
The field contains plain-text content.
The field contains content from a text area.
The field is any type not included in the other values.
The API name for the field. Use getLabel()
for a human readable label suitable for
display to the end user.
The type of content contained in this field.