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 classA builder that can be used to build a new StringAttributeDefinition that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetName()Returns the namegetTitle()inthashCode()voidsetDescription(String description) voidvoidsetOptions(List<@NotBlank String> options) voidtoString()
-
Method Details
-
builder
-
toBuilder
-
getName
-
getTitle
- Specified by:
getTitlein interfaceAttributeDefinition
-
getDescription
- Specified by:
getDescriptionin interfaceAttributeDefinition
-
getOptions
-
setName
- Specified by:
setNamein interfaceAttributeDefinition
-
setTitle
- Specified by:
setTitlein interfaceAttributeDefinition
-
setDescription
- Specified by:
setDescriptionin interfaceAttributeDefinition
-
setOptions
-
equals
-
canEqual
-
hashCode
-
toString
-