/** * */ package org.gcube.portlets.user.geoportaldataviewer.shared.gis.wms; import java.io.Serializable; import java.util.List; /** * The Class ZAxis. * * @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) * * Oct 27, 2020 */ public class ZAxis implements Serializable { /** * */ private static final long serialVersionUID = -1669690469240944967L; /** The units. */ private String units; /** The positive. */ private boolean positive; /** The values. */ private List values; /** * Instantiates a new layer z axis. */ public ZAxis() { } /** * Instantiates a new layer z axis. * * @param units the units * @param positive the positive * @param values the values */ public ZAxis(String units, boolean positive, List values) { this.units = units; this.positive = positive; this.values = values; } /** * Gets the units. * * @return the units */ public String getUnits() { return units; } /** * Checks if is positive. * * @return the positive */ public boolean isPositive() { return positive; } /** * Gets the values. * * @return the values */ public List getValues() { return values; } /** * Sets the units. * * @param units the units to set */ public void setUnits(String units) { this.units = units; } /** * Sets the positive. * * @param positive the positive to set */ public void setPositive(boolean positive) { this.positive = positive; } /** * Sets the values. * * @param values the values to set */ public void setValues(List values) { this.values = values; } /** * To string. * * @return the string */ /* * (non-Javadoc) * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder builder = new StringBuilder(); builder.append("ZAxis [units="); builder.append(units); builder.append(", positive="); builder.append(positive); builder.append(", values="); builder.append(values); builder.append("]"); return builder.toString(); } }