
package cdpp3dview.types;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Classe Java pour CarringtonMapType complex type.
 * 
 * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
 * 
 * <pre>
 * &lt;complexType name="CarringtonMapType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="observatory" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="instrument" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="measurement" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CarringtonMapType", propOrder = {
    "naifId",
    "observatory",
    "instrument",
    "measurement",
    "path"
})
public class CarringtonMapType {

    protected int naifId;
    @XmlElement(required = true)
    protected String observatory;
    @XmlElement(required = true)
    protected String instrument;
    @XmlElement(required = true)
    protected String measurement;
    @XmlElement(required = true)
    protected String path;

    public CarringtonMapType() {
    }

    public CarringtonMapType(int naifId) {
        this.naifId = naifId;
    }

    public CarringtonMapType(String observatory, String instrument, String measurement, String path) {
        this.observatory = observatory;
        this.instrument = instrument;
        this.measurement = measurement;
        this.path = path;
    }

    @Override
    public String toString() {
       return getPath();
    } 

    /**
     * Gets the value of the naifId property.
     * 
     */
    public int getNaifId() {
        return naifId;
    }

    /**
     * Sets the value of the naifId property.
     * 
     */
    public void setNaifId(int value) {
        this.naifId = value;
    }

    /**
     * Obtient la valeur de la propriété observatory.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getObservatory() {
        return observatory;
    }

    /**
     * Définit la valeur de la propriété observatory.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setObservatory(String value) {
        this.observatory = value;
    }

    /**
     * Obtient la valeur de la propriété instrument.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getInstrument() {
        return instrument;
    }

    /**
     * Définit la valeur de la propriété instrument.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setInstrument(String value) {
        this.instrument = value;
    }

    /**
     * Obtient la valeur de la propriété measurement.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getMeasurement() {
        return measurement;
    }

    /**
     * Définit la valeur de la propriété measurement.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setMeasurement(String value) {
        this.measurement = value;
    }

    /**
     * Obtient la valeur de la propriété path.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPath() {
        return path;
    }

    /**
     * Définit la valeur de la propriété path.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setPath(String value) {
        this.path = value;
    }

}
