public class Field extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Field.FieldBuilder |
| Constructor and Description |
|---|
Field() |
Field(String title,
String value,
boolean valueShortEnough) |
| Modifier and Type | Method and Description |
|---|---|
static Field.FieldBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getTitle()
Shown as a bold heading above the value text.
|
String |
getValue()
The text value of the field.
|
int |
hashCode() |
boolean |
isValueShortEnough()
An optional flag indicating whether the value is short enough to be displayed side-by-side with other values.
|
void |
setTitle(String title)
Shown as a bold heading above the value text.
|
void |
setValue(String value)
The text value of the field.
|
void |
setValueShortEnough(boolean valueShortEnough)
An optional flag indicating whether the value is short enough to be displayed side-by-side with other values.
|
String |
toString() |
public static Field.FieldBuilder builder()
public String getTitle()
public String getValue()
public boolean isValueShortEnough()
public void setTitle(String title)
public void setValue(String value)
public void setValueShortEnough(boolean valueShortEnough)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.