001/*
002 * mzTab-M reference implementation and validation API.
003 * This is the mzTab-M reference implementation and validation API service.
004 *
005 * OpenAPI spec version: 2.0.0
006 * Contact: nils.hoffmann@isas.de
007 *
008 * NOTE: This class is auto generated by the swagger code generator program.
009 * https://github.com/swagger-api/swagger-codegen.git
010 * Do not edit the class manually.
011 */
012
013
014package de.isas.mztab2.model;
015
016import java.util.Objects;
017import java.util.Arrays;
018import io.swagger.annotations.ApiModel;
019import java.util.ArrayList;
020import java.util.List;
021import com.fasterxml.jackson.dataformat.xml.annotation.*;
022import javax.xml.bind.annotation.*;
023import javax.validation.constraints.*;
024import javax.validation.Valid;
025import de.isas.lipidomics.mztab2.validation.constraints.*;
026/**
027 * 
028 * A typed list of strings.
029 * 
030 *
031 * 
032 *
033 */
034@ApiModel(description = "A typed list of strings.")
035@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-01-02T19:26:21.550+01:00")
036@XmlRootElement(name = "StringList")
037@XmlAccessorType(XmlAccessType.FIELD)
038@JacksonXmlRootElement(localName = "StringList")
039public class StringList extends ArrayList<String> {
040
041  
042
043  @Override
044  public boolean equals(java.lang.Object o) {
045    if (this == o) {
046      return true;
047    }
048    if (o == null || getClass() != o.getClass()) {
049      return false;
050    }
051    return super.equals(o);
052  }
053
054  @Override
055  public int hashCode() {
056    return Objects.hash(super.hashCode());
057  }
058
059
060  @Override
061  public String toString() {
062    StringBuilder sb = new StringBuilder();
063    sb.append("class StringList {\n");
064    sb.append("    ").append(toIndentedString(super.toString())).append("\n");
065    sb.append("}");
066    return sb.toString();
067  }
068
069  /**
070   * Convert the given object to string with each line indented by 4 spaces
071   * (except the first line).
072   */
073  private String toIndentedString(java.lang.Object o) {
074    if (o == null) {
075      return "null";
076    }
077    return o.toString().replace("\n", "\n    ");
078  }
079
080}
081