PricePositionType.java from riverock at Krugle
Show PricePositionType.java syntax highlighted
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.4-b01-fcs
// 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: 2006.11.26 at 03:57:27 PM MSK
//
package org.riverock.commerce.schema.shop;
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for PricePositionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="PricePositionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TopLevelName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="TopLevelUrl" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="PositionItem" type="{}PositionItemType" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PricePositionType", propOrder = {
"topLevelName",
"topLevelUrl",
"positionItem"
})
public class PricePositionType {
@XmlElement(name = "TopLevelName", required = true, defaultValue = "\u0412 \u043d\u0430\u0447\u0430\u043b\u043e")
protected String topLevelName;
@XmlElement(name = "TopLevelUrl", required = true)
protected String topLevelUrl;
@XmlElement(name = "PositionItem", required = true)
protected List<PositionItemType> positionItem;
/**
* Gets the value of the topLevelName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTopLevelName() {
return topLevelName;
}
/**
* Sets the value of the topLevelName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTopLevelName(String value) {
this.topLevelName = value;
}
/**
* Gets the value of the topLevelUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTopLevelUrl() {
return topLevelUrl;
}
/**
* Sets the value of the topLevelUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTopLevelUrl(String value) {
this.topLevelUrl = value;
}
/**
* Gets the value of the positionItem 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 positionItem property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPositionItem().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link PositionItemType }
*
*
*/
public List<PositionItemType> getPositionItem() {
if (positionItem == null) {
positionItem = new ArrayList<PositionItemType>();
}
return this.positionItem;
}
}
See more files for this project here