//
// 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 = "port")
public class Port {
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute(name = "side", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String side;
@XmlAttribute(name = "coord", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String coord;
@XmlAttribute(name = "direction")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String direction;
/**
* 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 side property.
*
* @return possible object is {@link String }
*
*/
public String getSide() {
return side;
}
/**
* Sets the value of the side property.
*
* @param value allowed object is {@link String }
*
*/
public void setSide(String value) {
this.side = value;
}
/**
* Gets the value of the coord property.
*
* @return possible object is {@link String }
*
*/
public String getCoord() {
return coord;
}
/**
* Sets the value of the coord property.
*
* @param value allowed object is {@link String }
*
*/
public void setCoord(String value) {
this.coord = 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;
}
}