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 Details

    • Attribute

      public Attribute()
  • Method Details

    • featureType

      public Attribute featureType(Long featureType)
    • getFeatureType

      public Long getFeatureType()
      Get featureType
      Returns:
      featureType
    • setFeatureType

      public void setFeatureType(Long featureType)
    • key

      public Attribute key(String key)
    • getKey

      public String getKey()
      Name of the attribute.
      Returns:
      key
    • setKey

      public void setKey(String key)
    • type

      public Attribute type(TMAttributeType type)
    • getType

      @Valid public @Valid TMAttributeType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(TMAttributeType type)
    • editable

      public Attribute editable(Boolean editable)
    • getEditable

      public Boolean getEditable()
      Whether the attribute can be edited.
      Returns:
      editable
    • setEditable

      public void setEditable(Boolean editable)
    • defaultValue

      public Attribute defaultValue(String defaultValue)
    • getDefaultValue

      public String getDefaultValue()
      Default value for this attribute. The value may need to be coerced to the correct type.
      Returns:
      defaultValue
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
    • nullable

      public Attribute nullable(Boolean nullable)
    • getNullable

      public Boolean getNullable()
      Whether the attribute can be null.
      Returns:
      nullable
    • setNullable

      public void setNullable(Boolean nullable)
    • 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