Class FeatureTypeSettings

java.lang.Object
org.tailormap.api.persistence.json.FeatureTypeSettings
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.17.0") public class FeatureTypeSettings extends Object implements Serializable
FeatureTypeSettings
See Also:
  • Constructor Details

    • FeatureTypeSettings

      public FeatureTypeSettings()
  • Method Details

    • template

      public FeatureTypeSettings template(FeatureTypeTemplate template)
    • getTemplate

      @Valid public @Valid FeatureTypeTemplate getTemplate()
      Get template
      Returns:
      template
    • setTemplate

      public void setTemplate(FeatureTypeTemplate template)
    • attributeOrder

      public FeatureTypeSettings attributeOrder(List<String> attributeOrder)
    • addAttributeOrderItem

      public FeatureTypeSettings addAttributeOrderItem(String attributeOrderItem)
    • getAttributeOrder

      @NotNull public @NotNull List<String> getAttributeOrder()
      Reordering of the attributes by attribute names. Attributes in the feature type that are not in this array should still be shown; either after the attribute that precedes the attribute in the original feature type attribute ordering or at the end.
      Returns:
      attributeOrder
    • setAttributeOrder

      public void setAttributeOrder(List<String> attributeOrder)
    • hideAttributes

      public FeatureTypeSettings hideAttributes(List<String> hideAttributes)
    • addHideAttributesItem

      public FeatureTypeSettings addHideAttributesItem(String hideAttributesItem)
    • getHideAttributes

      @NotNull public @NotNull List<String> getHideAttributes()
      List of attribute names that should be hidden in all viewers.
      Returns:
      hideAttributes
    • setHideAttributes

      public void setHideAttributes(List<String> hideAttributes)
    • editableAttributes

      public FeatureTypeSettings editableAttributes(List<String> editableAttributes)
    • addEditableAttributesItem

      public FeatureTypeSettings addEditableAttributesItem(String editableAttributesItem)
    • getEditableAttributes

      @NotNull public @NotNull List<String> getEditableAttributes()
      List of attribute names that are editable.
      Returns:
      editableAttributes
    • setEditableAttributes

      public void setEditableAttributes(List<String> editableAttributes)
    • attributeSettings

      public FeatureTypeSettings attributeSettings(Map<String,AttributeSettings> attributeSettings)
    • putAttributeSettingsItem

      public FeatureTypeSettings putAttributeSettingsItem(String key, AttributeSettings attributeSettingsItem)
    • getAttributeSettings

      @NotNull @Valid public @NotNull @Valid Map<String,AttributeSettings> getAttributeSettings()
      Map of attribute name to its' settings.
      Returns:
      attributeSettings
    • setAttributeSettings

      public void setAttributeSettings(Map<String,AttributeSettings> attributeSettings)
    • attachmentAttributes

      public FeatureTypeSettings attachmentAttributes(Set<@Valid AttachmentAttributeType> attachmentAttributes)
    • addAttachmentAttributesItem

      public FeatureTypeSettings addAttachmentAttributesItem(AttachmentAttributeType attachmentAttributesItem)
    • getAttachmentAttributes

      @NotNull @Valid @Size(min=0) public @NotNull @Valid @Size(min=0) Set<@Valid AttachmentAttributeType> getAttachmentAttributes()
      List of attributes that are attachments (files, images, etc.). Attachments are stored in sidecar tables of a featuretype. **Note** that the attributeName of any AttachmentAttributeType in the array should only be used once.
      Returns:
      attachmentAttributes
    • setAttachmentAttributes

      public void setAttachmentAttributes(Set<@Valid AttachmentAttributeType> attachmentAttributes)
    • 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