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.9.0") public class TMAttributeDescriptor extends Object implements Serializable
TMAttributeDescriptor
See Also:
  • Constructor Details

    • TMAttributeDescriptor

      public TMAttributeDescriptor()
  • Method Details

    • 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

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object