Class TMAttributeDescriptor
- java.lang.Object
-
- nl.b3p.tailormap.api.persistence.json.TMAttributeDescriptor
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class TMAttributeDescriptor extends Object implements SerializableTMAttributeDescriptor- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TMAttributeDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TMAttributeDescriptorcomment(String comment)TMAttributeDescriptordefaultValue(String defaultValue)TMAttributeDescriptordescription(String description)booleanequals(Object o)StringgetComment()Comment from the source, if available (such as database comment) [TODO]StringgetDefaultValue()Default value for this attribute.StringgetDescription()Get descriptionStringgetName()Get nameBooleangetNullable()Get nullable@Valid TMAttributeTypegetType()Get typeStringgetUnknownTypeClassName()Class name of type (as produced by GeoTools DataStore) which isn't in the type enum list and thus unknown.inthashCode()TMAttributeDescriptorname(String name)TMAttributeDescriptornullable(Boolean nullable)voidsetComment(String comment)voidsetDefaultValue(String defaultValue)voidsetDescription(String description)voidsetName(String name)voidsetNullable(Boolean nullable)voidsetType(TMAttributeType type)voidsetUnknownTypeClassName(String unknownTypeClassName)StringtoString()TMAttributeDescriptortype(TMAttributeType type)TMAttributeDescriptorunknownTypeClassName(String unknownTypeClassName)
-
-
-
Method Detail
-
name
public TMAttributeDescriptor name(String name)
-
getName
public String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
comment
public TMAttributeDescriptor comment(String comment)
-
getComment
public String getComment()
Comment from the source, if available (such as database comment) [TODO]- Returns:
- comment
-
setComment
public void setComment(String comment)
-
type
public TMAttributeDescriptor type(TMAttributeType type)
-
getType
@Valid public @Valid TMAttributeType getType()
Get type- Returns:
- type
-
setType
public void setType(TMAttributeType type)
-
unknownTypeClassName
public TMAttributeDescriptor unknownTypeClassName(String unknownTypeClassName)
-
getUnknownTypeClassName
public String 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
public void setUnknownTypeClassName(String unknownTypeClassName)
-
nullable
public TMAttributeDescriptor nullable(Boolean nullable)
-
getNullable
public Boolean getNullable()
Get nullable- Returns:
- nullable
-
setNullable
public void setNullable(Boolean nullable)
-
description
public TMAttributeDescriptor description(String description)
-
getDescription
public String getDescription()
Get description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
defaultValue
public TMAttributeDescriptor defaultValue(String defaultValue)
-
getDefaultValue
public String getDefaultValue()
Default value for this attribute. It can be coerced to the type of the attribute using the `type` field.- Returns:
- defaultValue
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
-