//
// 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 = "label")
public class Label {
@XmlAttribute(name = "x", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String x;
@XmlAttribute(name = "y", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String y;
@XmlAttribute(name = "size", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String size;
@XmlAttribute(name = "layer", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String layer;
@XmlAttribute(name = "font")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String font;
@XmlAttribute(name = "ratio")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String ratio;
@XmlAttribute(name = "rot")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String rot;
@XmlAttribute(name = "xref")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String xref;
/**
* 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 size property.
*
* @return possible object is {@link String }
*
*/
public String getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value allowed object is {@link String }
*
*/
public void setSize(String value) {
this.size = value;
}
/**
* Gets the value of the layer property.
*
* @return possible object is {@link String }
*
*/
public String getLayer() {
return layer;
}
/**
* Sets the value of the layer property.
*
* @param value allowed object is {@link String }
*
*/
public void setLayer(String value) {
this.layer = value;
}
/**
* Gets the value of the font property.
*
* @return possible object is {@link String }
*
*/
public String getFont() {
if (font == null) {
return "proportional";
}
else {
return font;
}
}
/**
* Sets the value of the font property.
*
* @param value allowed object is {@link String }
*
*/
public void setFont(String value) {
this.font = value;
}
/**
* Gets the value of the ratio property.
*
* @return possible object is {@link String }
*
*/
public String getRatio() {
if (ratio == null) {
return "8";
}
else {
return ratio;
}
}
/**
* Sets the value of the ratio property.
*
* @param value allowed object is {@link String }
*
*/
public void setRatio(String value) {
this.ratio = 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;
}
/**
* Gets the value of the xref property.
*
* @return possible object is {@link String }
*
*/
public String getXref() {
if (xref == null) {
return "no";
}
else {
return xref;
}
}
/**
* Sets the value of the xref property.
*
* @param value allowed object is {@link String }
*
*/
public void setXref(String value) {
this.xref = value;
}
}