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.15.0")
public class Attribute
extends Object
implements Serializable
Attribute
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultValue
(String defaultValue) boolean
getAlias()
Alias of the attribute.Default value for this attribute.Whether the attribute can be edited.@NotNull String
getName()
Name of the attribute.Whether the attribute can be null.@Valid TMAttributeType
getType()
Get typeint
hashCode()
void
void
setDefaultValue
(String defaultValue) void
setEditable
(Boolean editable) void
void
setNullable
(Boolean nullable) void
setType
(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
-