All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.util.persistence.v004.VehicleEnvelopeTO Maven / Gradle / Ivy

The newest version!
// SPDX-FileCopyrightText: The openTCS Authors
// SPDX-License-Identifier: MIT
package org.opentcs.util.persistence.v004;

import static java.util.Objects.requireNonNull;

import jakarta.annotation.Nonnull;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 */
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlType(propOrder = {"key", "vertices"})
public class VehicleEnvelopeTO {

  private String key;
  private List vertices;

  public VehicleEnvelopeTO() {
  }

  public String getKey() {
    return key;
  }

  @XmlAttribute
  public VehicleEnvelopeTO setKey(
      @Nonnull
      String key
  ) {
    this.key = requireNonNull(key, "key");
    return this;
  }

  @XmlElement(name = "vertex")
  public List getVertices() {
    return vertices;
  }

  public VehicleEnvelopeTO setVertices(
      @Nonnull
      List vertices
  ) {
    this.vertices = requireNonNull(vertices, "vertices");
    return this;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy