//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2008.09.25 at 05:31:28 午後 JST 
//


package jp.mydns.masahase.weldinglines;

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;


/**
 * 直線状の溶接線
 * 
 * <p>Java class for StraightLine complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="StraightLine">
 *   &lt;complexContent>
 *     &lt;extension base="{http://www.masahase.mydns.jp/WeldingLines}WeldingLine">
 *       &lt;all>
 *         &lt;element name="Start" type="{http://www.masahase.mydns.jp/WeldingLines}Point"/>
 *         &lt;element name="End" type="{http://www.masahase.mydns.jp/WeldingLines}Point"/>
 *         &lt;element name="Ref" type="{http://www.masahase.mydns.jp/WeldingLines}Point"/>
 *       &lt;/all>
 *       &lt;attribute name="mirroring" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StraightLine", propOrder = {
    "start",
    "end",
    "ref"
})
public class StraightLine
    extends WeldingLine
{

    @XmlElement(name = "Start", required = true)
    protected Point start;
    @XmlElement(name = "End", required = true)
    protected Point end;
    @XmlElement(name = "Ref", required = true)
    protected Point ref;
    @XmlAttribute
    protected Boolean mirroring;

    /**
     * Gets the value of the start property.
     * 
     * @return
     *     possible object is
     *     {@link Point }
     *     
     */
    public Point getStart() {
        return start;
    }

    /**
     * Sets the value of the start property.
     * 
     * @param value
     *     allowed object is
     *     {@link Point }
     *     
     */
    public void setStart(Point value) {
        this.start = value;
    }

    /**
     * Gets the value of the end property.
     * 
     * @return
     *     possible object is
     *     {@link Point }
     *     
     */
    public Point getEnd() {
        return end;
    }

    /**
     * Sets the value of the end property.
     * 
     * @param value
     *     allowed object is
     *     {@link Point }
     *     
     */
    public void setEnd(Point value) {
        this.end = value;
    }

    /**
     * Gets the value of the ref property.
     * 
     * @return
     *     possible object is
     *     {@link Point }
     *     
     */
    public Point getRef() {
        return ref;
    }

    /**
     * Sets the value of the ref property.
     * 
     * @param value
     *     allowed object is
     *     {@link Point }
     *     
     */
    public void setRef(Point value) {
        this.ref = value;
    }

    /**
     * Gets the value of the mirroring property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public boolean isMirroring() {
        if (mirroring == null) {
            return false;
        } else {
            return mirroring;
        }
    }

    /**
     * Sets the value of the mirroring property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setMirroring(Boolean value) {
        this.mirroring = value;
    }

}
