//
// 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: 2014.02.27 at 10:05:31 PM YEKT
//
package ru.csu.stan.java.cfg.jaxb;
import java.math.BigInteger;
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.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for Method complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="Method">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="TryExcept" type="{}TryExcept"/>
* <element name="TryFinally" type="{}TryFinally"/>
* <element name="With" type="{}With"/>
* <element name="Block" type="{}Block"/>
* <element name="Flow" type="{}Flow"/>
* <element name="For" type="{}For"/>
* <element name="If" type="{}If"/>
* <element name="While" type="{}While"/>
* </choice>
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="parent_class" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="label" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="cfg_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="ucr_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
* <attribute name="ucr_method_id" type="{http://www.w3.org/2001/XMLSchema}integer" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Method", propOrder = {
"tryExceptOrTryFinallyOrWith"
})
public class Method {
@XmlElements({
@XmlElement(name = "Flow", type = Flow.class),
@XmlElement(name = "TryExcept", type = TryExcept.class),
@XmlElement(name = "For", type = For.class),
@XmlElement(name = "While", type = While.class),
@XmlElement(name = "If", type = If.class),
@XmlElement(name = "Block", type = Block.class),
@XmlElement(name = "TryFinally", type = TryFinally.class),
@XmlElement(name = "With", type = With.class)
})
protected List<Object> tryExceptOrTryFinallyOrWith;
@XmlAttribute
protected String name;
@XmlAttribute(name = "parent_class")
protected String parentClass;
@XmlAttribute
protected String label;
@XmlAttribute(name = "cfg_id")
protected BigInteger cfgId;
@XmlAttribute(name = "ucr_id")
protected BigInteger ucrId;
@XmlAttribute(name = "ucr_method_id")
protected BigInteger ucrMethodId;
/**
* Gets the value of the tryExceptOrTryFinallyOrWith 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 tryExceptOrTryFinallyOrWith property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTryExceptOrTryFinallyOrWith().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Flow }
* {@link TryExcept }
* {@link For }
* {@link While }
* {@link If }
* {@link Block }
* {@link TryFinally }
* {@link With }
*
*
*/
public List<Object> getTryExceptOrTryFinallyOrWith() {
if (tryExceptOrTryFinallyOrWith == null) {
tryExceptOrTryFinallyOrWith = new ArrayList<Object>();
}
return this.tryExceptOrTryFinallyOrWith;
}
/**
* 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 parentClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParentClass() {
return parentClass;
}
/**
* Sets the value of the parentClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParentClass(String value) {
this.parentClass = value;
}
/**
* Gets the value of the label property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLabel() {
return label;
}
/**
* Sets the value of the label property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLabel(String value) {
this.label = value;
}
/**
* Gets the value of the cfgId property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getCfgId() {
return cfgId;
}
/**
* Sets the value of the cfgId property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setCfgId(BigInteger value) {
this.cfgId = value;
}
/**
* Gets the value of the ucrId property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getUcrId() {
return ucrId;
}
/**
* Sets the value of the ucrId property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setUcrId(BigInteger value) {
this.ucrId = value;
}
/**
* Gets the value of the ucrMethodId property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getUcrMethodId() {
return ucrMethodId;
}
/**
* Sets the value of the ucrMethodId property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setUcrMethodId(BigInteger value) {
this.ucrMethodId = value;
}
}