Package org.tailormap.api.viewer.model
Class Attribute
java.lang.Object
org.tailormap.api.viewer.model.Attribute
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.16.0")
public class Attribute
extends Object
implements Serializable
Attribute
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultValue(String defaultValue) booleangetAlias()Alias of the attribute.Default value for this attribute.Whether the attribute can be edited.@NotNull StringgetName()Name of the attribute.Whether the attribute can be null.@Valid TMAttributeTypegetType()Get typeinthashCode()voidvoidsetDefaultValue(String defaultValue) voidsetEditable(Boolean editable) voidvoidsetNullable(Boolean nullable) voidsetType(TMAttributeType type) toString()type(TMAttributeType type)
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
name
-
getName
Name of the attribute.- Returns:
- name
-
setName
-
alias
-
getAlias
Alias of the attribute.- Returns:
- alias
-
setAlias
-
type
-
getType
Get type- Returns:
- type
-
setType
-
editable
-
getEditable
Whether the attribute can be edited.- Returns:
- editable
-
setEditable
-
defaultValue
-
getDefaultValue
Default value for this attribute. The value may need to be coerced to the correct type.- Returns:
- defaultValue
-
setDefaultValue
-
nullable
-
getNullable
Whether the attribute can be null.- Returns:
- nullable
-
setNullable
-
equals
-
hashCode
public int hashCode() -
toString
-