//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 2010.08.02 at 09:18:52 PM BST
//
package net.sf.mpxj.planner.schema;
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;
/**
*
*/
@SuppressWarnings("all") @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "predecessor") public class Predecessor
{
@XmlAttribute(required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String id;
@XmlAttribute(name = "predecessor-id", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String predecessorId;
@XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String type;
@XmlAttribute @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String lag;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId()
{
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value)
{
this.id = value;
}
/**
* Gets the value of the predecessorId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPredecessorId()
{
return predecessorId;
}
/**
* Sets the value of the predecessorId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPredecessorId(String value)
{
this.predecessorId = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getType()
{
if (type == null)
{
return "FS";
}
else
{
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value)
{
this.type = value;
}
/**
* Gets the value of the lag property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLag()
{
return lag;
}
/**
* Sets the value of the lag property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLag(String value)
{
this.lag = value;
}
}