// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference // Implementation, v2.2.8-b130911.1802 // 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: 2014.10.23 at 08:50:01 AM PDT // package org.openpnp.model.eagle.xml; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "pin") public class Pin { @XmlAttribute(name = "name", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String name; @XmlAttribute(name = "x", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String x; @XmlAttribute(name = "y", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String y; @XmlAttribute(name = "visible") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String visible; @XmlAttribute(name = "length") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String length; @XmlAttribute(name = "direction") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String direction; @XmlAttribute(name = "function") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String function; @XmlAttribute(name = "swaplevel") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String swaplevel; @XmlAttribute(name = "rot") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String rot; /** * Gets the value of the name property. * * @return possible object is {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value allowed object is {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the x property. * * @return possible object is {@link String } * */ public String getX() { return x; } /** * Sets the value of the x property. * * @param value allowed object is {@link String } * */ public void setX(String value) { this.x = value; } /** * Gets the value of the y property. * * @return possible object is {@link String } * */ public String getY() { return y; } /** * Sets the value of the y property. * * @param value allowed object is {@link String } * */ public void setY(String value) { this.y = value; } /** * Gets the value of the visible property. * * @return possible object is {@link String } * */ public String getVisible() { if (visible == null) { return "both"; } else { return visible; } } /** * Sets the value of the visible property. * * @param value allowed object is {@link String } * */ public void setVisible(String value) { this.visible = value; } /** * Gets the value of the length property. * * @return possible object is {@link String } * */ public String getLength() { if (length == null) { return "long"; } else { return length; } } /** * Sets the value of the length property. * * @param value allowed object is {@link String } * */ public void setLength(String value) { this.length = value; } /** * Gets the value of the direction property. * * @return possible object is {@link String } * */ public String getDirection() { if (direction == null) { return "io"; } else { return direction; } } /** * Sets the value of the direction property. * * @param value allowed object is {@link String } * */ public void setDirection(String value) { this.direction = value; } /** * Gets the value of the function property. * * @return possible object is {@link String } * */ public String getFunction() { if (function == null) { return "none"; } else { return function; } } /** * Sets the value of the function property. * * @param value allowed object is {@link String } * */ public void setFunction(String value) { this.function = value; } /** * Gets the value of the swaplevel property. * * @return possible object is {@link String } * */ public String getSwaplevel() { if (swaplevel == null) { return "0"; } else { return swaplevel; } } /** * Sets the value of the swaplevel property. * * @param value allowed object is {@link String } * */ public void setSwaplevel(String value) { this.swaplevel = value; } /** * Gets the value of the rot property. * * @return possible object is {@link String } * */ public String getRot() { if (rot == null) { return "R0"; } else { return rot; } } /** * Sets the value of the rot property. * * @param value allowed object is {@link String } * */ public void setRot(String value) { this.rot = value; } }