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

org.jopendocument.model.draw.DrawConnector Maven / Gradle / Ivy

/*
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 * 
 * Copyright 2008 jOpenDocument, by ILM Informatique. All rights reserved.
 * 
 * The contents of this file are subject to the terms of the GNU
 * General Public License Version 3 only ("GPL").  
 * You may not use this file except in compliance with the License. 
 * You can obtain a copy of the License at http://www.gnu.org/licenses/gpl-3.0.html
 * See the License for the specific language governing permissions and limitations under the License.
 * 
 * When distributing the software, include this License Header Notice in each file.
 * 
 */

package org.jopendocument.model.draw;

import java.util.ArrayList;
import java.util.List;

import org.jopendocument.model.office.OfficeEvents;
import org.jopendocument.model.text.TextOrderedList;
import org.jopendocument.model.text.TextP;
import org.jopendocument.model.text.TextUnorderedList;

/**
 * 
 */
public class DrawConnector {

    protected String drawEndGluePoint;
    protected String drawEndShape;
    protected String drawId;
    protected String drawLayer;
    protected String drawLineSkew;
    protected String drawStartGluePoint;
    protected String drawStartShape;
    protected String drawStyleName;
    protected String drawTextStyleName;
    protected String drawType;
    protected String drawZIndex;
    protected OfficeEvents officeEvents;
    protected String presentationStyleName;
    protected String svgX1;
    protected String svgX2;
    protected String svgY1;
    protected String svgY2;
    protected String tableEndCellAddress;
    protected String tableEndX;
    protected String tableEndY;
    protected String tableTableBackground;
    protected String textAnchorPageNumber;
    protected String textAnchorType;
    protected List textPOrTextUnorderedListOrTextOrderedList;

    /**
     * Gets the value of the drawEndGluePoint property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawEndGluePoint() {
        return this.drawEndGluePoint;
    }

    /**
     * Gets the value of the drawEndShape property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawEndShape() {
        return this.drawEndShape;
    }

    /**
     * Gets the value of the drawId property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawId() {
        return this.drawId;
    }

    /**
     * Gets the value of the drawLayer property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawLayer() {
        return this.drawLayer;
    }

    /**
     * Gets the value of the drawLineSkew property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawLineSkew() {
        return this.drawLineSkew;
    }

    /**
     * Gets the value of the drawStartGluePoint property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawStartGluePoint() {
        return this.drawStartGluePoint;
    }

    /**
     * Gets the value of the drawStartShape property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawStartShape() {
        return this.drawStartShape;
    }

    /**
     * Gets the value of the drawStyleName property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawStyleName() {
        return this.drawStyleName;
    }

    /**
     * Gets the value of the drawTextStyleName property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawTextStyleName() {
        return this.drawTextStyleName;
    }

    /**
     * Gets the value of the drawType property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawType() {
        if (this.drawType == null) {
            return "standard";
        } else {
            return this.drawType;
        }
    }

    /**
     * Gets the value of the drawZIndex property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getDrawZIndex() {
        return this.drawZIndex;
    }

    /**
     * Gets the value of the officeEvents property.
     * 
     * @return possible object is {@link OfficeEvents }
     * 
     */
    public OfficeEvents getOfficeEvents() {
        return this.officeEvents;
    }

    /**
     * Gets the value of the presentationStyleName property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getPresentationStyleName() {
        return this.presentationStyleName;
    }

    /**
     * Gets the value of the svgX1 property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getSvgX1() {
        return this.svgX1;
    }

    /**
     * Gets the value of the svgX2 property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getSvgX2() {
        return this.svgX2;
    }

    /**
     * Gets the value of the svgY1 property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getSvgY1() {
        return this.svgY1;
    }

    /**
     * Gets the value of the svgY2 property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getSvgY2() {
        return this.svgY2;
    }

    /**
     * Gets the value of the tableEndCellAddress property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTableEndCellAddress() {
        return this.tableEndCellAddress;
    }

    /**
     * Gets the value of the tableEndX property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTableEndX() {
        return this.tableEndX;
    }

    /**
     * Gets the value of the tableEndY property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTableEndY() {
        return this.tableEndY;
    }

    /**
     * Gets the value of the tableTableBackground property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTableTableBackground() {
        return this.tableTableBackground;
    }

    /**
     * Gets the value of the textAnchorPageNumber property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTextAnchorPageNumber() {
        return this.textAnchorPageNumber;
    }

    /**
     * Gets the value of the textAnchorType property.
     * 
     * @return possible object is {@link String }
     * 
     */
    public String getTextAnchorType() {
        return this.textAnchorType;
    }

    /**
     * Gets the value of the textPOrTextUnorderedListOrTextOrderedList property.
     * 
     * 

* This accessor method returns a reference to the live list, not a snapshot. Therefore any * modification you make to the returned list will be present inside the JAXB object. This is * why there is not a set method for the * textPOrTextUnorderedListOrTextOrderedList property. * *

* For example, to add a new item, do as follows: * *

     * getTextPOrTextUnorderedListOrTextOrderedList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list {@link TextP } * {@link TextUnorderedList } {@link TextOrderedList } * * */ public List getTextPOrTextUnorderedListOrTextOrderedList() { if (this.textPOrTextUnorderedListOrTextOrderedList == null) { this.textPOrTextUnorderedListOrTextOrderedList = new ArrayList(); } return this.textPOrTextUnorderedListOrTextOrderedList; } /** * Sets the value of the drawEndGluePoint property. * * @param value allowed object is {@link String } * */ public void setDrawEndGluePoint(final String value) { this.drawEndGluePoint = value; } /** * Sets the value of the drawEndShape property. * * @param value allowed object is {@link String } * */ public void setDrawEndShape(final String value) { this.drawEndShape = value; } /** * Sets the value of the drawId property. * * @param value allowed object is {@link String } * */ public void setDrawId(final String value) { this.drawId = value; } /** * Sets the value of the drawLayer property. * * @param value allowed object is {@link String } * */ public void setDrawLayer(final String value) { this.drawLayer = value; } /** * Sets the value of the drawLineSkew property. * * @param value allowed object is {@link String } * */ public void setDrawLineSkew(final String value) { this.drawLineSkew = value; } /** * Sets the value of the drawStartGluePoint property. * * @param value allowed object is {@link String } * */ public void setDrawStartGluePoint(final String value) { this.drawStartGluePoint = value; } /** * Sets the value of the drawStartShape property. * * @param value allowed object is {@link String } * */ public void setDrawStartShape(final String value) { this.drawStartShape = value; } /** * Sets the value of the drawStyleName property. * * @param value allowed object is {@link String } * */ public void setDrawStyleName(final String value) { this.drawStyleName = value; } /** * Sets the value of the drawTextStyleName property. * * @param value allowed object is {@link String } * */ public void setDrawTextStyleName(final String value) { this.drawTextStyleName = value; } /** * Sets the value of the drawType property. * * @param value allowed object is {@link String } * */ public void setDrawType(final String value) { this.drawType = value; } /** * Sets the value of the drawZIndex property. * * @param value allowed object is {@link String } * */ public void setDrawZIndex(final String value) { this.drawZIndex = value; } /** * Sets the value of the officeEvents property. * * @param value allowed object is {@link OfficeEvents } * */ public void setOfficeEvents(final OfficeEvents value) { this.officeEvents = value; } /** * Sets the value of the presentationStyleName property. * * @param value allowed object is {@link String } * */ public void setPresentationStyleName(final String value) { this.presentationStyleName = value; } /** * Sets the value of the svgX1 property. * * @param value allowed object is {@link String } * */ public void setSvgX1(final String value) { this.svgX1 = value; } /** * Sets the value of the svgX2 property. * * @param value allowed object is {@link String } * */ public void setSvgX2(final String value) { this.svgX2 = value; } /** * Sets the value of the svgY1 property. * * @param value allowed object is {@link String } * */ public void setSvgY1(final String value) { this.svgY1 = value; } /** * Sets the value of the svgY2 property. * * @param value allowed object is {@link String } * */ public void setSvgY2(final String value) { this.svgY2 = value; } /** * Sets the value of the tableEndCellAddress property. * * @param value allowed object is {@link String } * */ public void setTableEndCellAddress(final String value) { this.tableEndCellAddress = value; } /** * Sets the value of the tableEndX property. * * @param value allowed object is {@link String } * */ public void setTableEndX(final String value) { this.tableEndX = value; } /** * Sets the value of the tableEndY property. * * @param value allowed object is {@link String } * */ public void setTableEndY(final String value) { this.tableEndY = value; } /** * Sets the value of the tableTableBackground property. * * @param value allowed object is {@link String } * */ public void setTableTableBackground(final String value) { this.tableTableBackground = value; } /** * Sets the value of the textAnchorPageNumber property. * * @param value allowed object is {@link String } * */ public void setTextAnchorPageNumber(final String value) { this.textAnchorPageNumber = value; } /** * Sets the value of the textAnchorType property. * * @param value allowed object is {@link String } * */ public void setTextAnchorType(final String value) { this.textAnchorType = value; } }