//
// 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 java.util.ArrayList;
import java.util.List;
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 = "", propOrder = {"attribute"})
@XmlRootElement(name = "moduleinst")
public class Moduleinst {
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute(name = "module", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String module;
@XmlAttribute(name = "modulevariant")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String modulevariant;
@XmlAttribute(name = "x", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String x;
@XmlAttribute(name = "y", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String y;
@XmlAttribute(name = "offset")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String offset;
@XmlAttribute(name = "smashed")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String smashed;
@XmlAttribute(name = "rot")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String rot;
protected List<Attribute> attribute;
/**
* 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 module property.
*
* @return possible object is {@link String }
*
*/
public String getModule() {
return module;
}
/**
* Sets the value of the module property.
*
* @param value allowed object is {@link String }
*
*/
public void setModule(String value) {
this.module = value;
}
/**
* Gets the value of the modulevariant property.
*
* @return possible object is {@link String }
*
*/
public String getModulevariant() {
if (modulevariant == null) {
return "";
}
else {
return modulevariant;
}
}
/**
* Sets the value of the modulevariant property.
*
* @param value allowed object is {@link String }
*
*/
public void setModulevariant(String value) {
this.modulevariant = 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 offset property.
*
* @return possible object is {@link String }
*
*/
public String getOffset() {
if (offset == null) {
return "0";
}
else {
return offset;
}
}
/**
* Sets the value of the offset property.
*
* @param value allowed object is {@link String }
*
*/
public void setOffset(String value) {
this.offset = value;
}
/**
* Gets the value of the smashed property.
*
* @return possible object is {@link String }
*
*/
public String getSmashed() {
if (smashed == null) {
return "no";
}
else {
return smashed;
}
}
/**
* Sets the value of the smashed property.
*
* @param value allowed object is {@link String }
*
*/
public void setSmashed(String value) {
this.smashed = 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 attribute property.
*
* <p>
* 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 <CODE>set</CODE> method for the attribute property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getAttribute().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link Attribute }
*
*
*/
public List<Attribute> getAttribute() {
if (attribute == null) {
attribute = new ArrayList<>();
}
return this.attribute;
}
}