Class StringAttributeDefinition
java.lang.Object
co.yellowdog.platform.model.StringAttributeDefinition
- All Implemented Interfaces:
AttributeDefinition
,Named
,Serializable
@ValidatedBy(StringAttributeDefinitionValidator.class)
public class StringAttributeDefinition
extends Object
implements AttributeDefinition
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new StringAttributeDefinition that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getName()
Returns the namegetTitle()
int
hashCode()
void
setDescription
(String description) void
void
setOptions
(List<@NotBlank String> options) void
toString()
-
Method Details
-
builder
-
toBuilder
-
getName
-
getTitle
- Specified by:
getTitle
in interfaceAttributeDefinition
-
getDescription
- Specified by:
getDescription
in interfaceAttributeDefinition
-
getOptions
-
setName
- Specified by:
setName
in interfaceAttributeDefinition
-
setTitle
- Specified by:
setTitle
in interfaceAttributeDefinition
-
setDescription
- Specified by:
setDescription
in interfaceAttributeDefinition
-
setOptions
-
equals
-
canEqual
-
hashCode
-
toString
-