Class Tag
- java.lang.Object
-
- com.caplin.motif.fx.config.definitions.common.Tag
-
@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2022-09-09T12:46:21.102270Z[GMT]") public class Tag extends Object
Tag
-
-
Constructor Summary
Constructors Constructor Description Tag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tag
color(String color)
boolean
equals(Object o)
String
getColor()
An optional colour for a tag.@NotNull String
getLabel()
A label for a tag.int
hashCode()
Tag
label(String label)
void
setColor(String color)
void
setLabel(String label)
String
toString()
-
-
-
Method Detail
-
getLabel
@NotNull public @NotNull String getLabel()
A label for a tag. Can be either an i18n token, or a plain-text value.- Returns:
- label
-
setLabel
public void setLabel(String label)
-
getColor
public String getColor()
An optional colour for a tag. Can be a named colour (e.g. 'red'), a hex colour code (e.g. '#123456'), or a Caplin Design System colour name (e.g. 'brand_1' or 'positive').- Returns:
- color
-
setColor
public void setColor(String color)
-
-