| 1 | /* |
|---|
| 2 | * Copyright 2007-2008, Plutext Pty Ltd. |
|---|
| 3 | * |
|---|
| 4 | * This file is part of docx4j. |
|---|
| 5 | |
|---|
| 6 | docx4j is licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 7 | you may not use this file except in compliance with the License. |
|---|
| 8 | |
|---|
| 9 | You may obtain a copy of the License at |
|---|
| 10 | |
|---|
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
|---|
| 12 | |
|---|
| 13 | Unless required by applicable law or agreed to in writing, software |
|---|
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
|---|
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|---|
| 16 | See the License for the specific language governing permissions and |
|---|
| 17 | limitations under the License. |
|---|
| 18 | |
|---|
| 19 | */ |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | package org.docx4j.dml; |
|---|
| 23 | |
|---|
| 24 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 25 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 26 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 27 | import javax.xml.bind.annotation.XmlSchemaType; |
|---|
| 28 | import javax.xml.bind.annotation.XmlType; |
|---|
| 29 | |
|---|
| 30 | |
|---|
| 31 | /** |
|---|
| 32 | * <p>Java class for CT_Connection complex type. |
|---|
| 33 | * |
|---|
| 34 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 35 | * |
|---|
| 36 | * <pre> |
|---|
| 37 | * <complexType name="CT_Connection"> |
|---|
| 38 | * <complexContent> |
|---|
| 39 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 40 | * <attribute name="id" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/main}ST_DrawingElementId" /> |
|---|
| 41 | * <attribute name="idx" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> |
|---|
| 42 | * </restriction> |
|---|
| 43 | * </complexContent> |
|---|
| 44 | * </complexType> |
|---|
| 45 | * </pre> |
|---|
| 46 | * |
|---|
| 47 | * |
|---|
| 48 | */ |
|---|
| 49 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 50 | @XmlType(name = "CT_Connection") |
|---|
| 51 | public class CTConnection { |
|---|
| 52 | |
|---|
| 53 | @XmlAttribute(required = true) |
|---|
| 54 | protected long id; |
|---|
| 55 | @XmlAttribute(required = true) |
|---|
| 56 | @XmlSchemaType(name = "unsignedInt") |
|---|
| 57 | protected long idx; |
|---|
| 58 | |
|---|
| 59 | /** |
|---|
| 60 | * Gets the value of the id property. |
|---|
| 61 | * |
|---|
| 62 | */ |
|---|
| 63 | public long getId() { |
|---|
| 64 | return id; |
|---|
| 65 | } |
|---|
| 66 | |
|---|
| 67 | /** |
|---|
| 68 | * Sets the value of the id property. |
|---|
| 69 | * |
|---|
| 70 | */ |
|---|
| 71 | public void setId(long value) { |
|---|
| 72 | this.id = value; |
|---|
| 73 | } |
|---|
| 74 | |
|---|
| 75 | /** |
|---|
| 76 | * Gets the value of the idx property. |
|---|
| 77 | * |
|---|
| 78 | */ |
|---|
| 79 | public long getIdx() { |
|---|
| 80 | return idx; |
|---|
| 81 | } |
|---|
| 82 | |
|---|
| 83 | /** |
|---|
| 84 | * Sets the value of the idx property. |
|---|
| 85 | * |
|---|
| 86 | */ |
|---|
| 87 | public void setIdx(long value) { |
|---|
| 88 | this.idx = value; |
|---|
| 89 | } |
|---|
| 90 | |
|---|
| 91 | } |
|---|