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.10.0")
public class Attribute
extends Object
implements Serializable
Attribute
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValue
(String defaultValue) boolean
featureType
(Long featureType) Default value for this attribute.Whether the attribute can be edited.Get featureTypegetKey()
Name of the attribute.Whether the attribute can be null.@Valid TMAttributeType
getType()
Get typeint
hashCode()
void
setDefaultValue
(String defaultValue) void
setEditable
(Boolean editable) void
setFeatureType
(Long featureType) void
void
setNullable
(Boolean nullable) void
setType
(TMAttributeType type) toString()
type
(TMAttributeType type)
-
Constructor Details
-
Attribute
public Attribute()
-
-
Method Details
-
featureType
-
getFeatureType
Get featureType- Returns:
- featureType
-
setFeatureType
-
key
-
getKey
Name of the attribute.- Returns:
- key
-
setKey
-
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
-