Class TMAttributeDescriptor
java.lang.Object
org.tailormap.api.persistence.json.TMAttributeDescriptor
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class TMAttributeDescriptor
extends Object
implements Serializable
TMAttributeDescriptor
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValue
(String defaultValue) description
(String description) boolean
Comment from the source, if available (such as database comment) [TODO]Default value for this attribute.Get descriptiongetName()
Get nameGet nullable@Valid TMAttributeType
getType()
Get typeClass name of type (as produced by GeoTools DataStore) which isn't in the type enum list and thus unknown.int
hashCode()
void
setComment
(String comment) void
setDefaultValue
(String defaultValue) void
setDescription
(String description) void
void
setNullable
(Boolean nullable) void
setType
(TMAttributeType type) void
setUnknownTypeClassName
(String unknownTypeClassName) toString()
type
(TMAttributeType type) unknownTypeClassName
(String unknownTypeClassName)
-
Constructor Details
-
TMAttributeDescriptor
public TMAttributeDescriptor()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
comment
-
getComment
Comment from the source, if available (such as database comment) [TODO]- Returns:
- comment
-
setComment
-
type
-
getType
Get type- Returns:
- type
-
setType
-
unknownTypeClassName
-
getUnknownTypeClassName
Class name of type (as produced by GeoTools DataStore) which isn't in the type enum list and thus unknown. When the type is 'object' this should contain the full class-name, mostly for debugging purposes so the type may be added to the enum list.- Returns:
- unknownTypeClassName
-
setUnknownTypeClassName
-
nullable
-
getNullable
Get nullable- Returns:
- nullable
-
setNullable
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
defaultValue
-
getDefaultValue
Default value for this attribute. It can be coerced to the type of the attribute using the `type` field.- Returns:
- defaultValue
-
setDefaultValue
-
equals
-
hashCode
public int hashCode() -
toString
-