Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1-b02-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: 2008.10.29 at 01:06:25 AM GMT 
  //
  
  
  package com.xerox.amazonws.typica.sdb.jaxb;
 
 import java.util.List;

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="DomainName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ItemName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Attribute" type="{http://sdb.amazonaws.com/doc/2007-11-07/}Attribute" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "domainName",
     "itemName",
     "attributes"
 })
 @XmlRootElement(name = "DeleteAttributes")
 public class DeleteAttributes {
 
     @XmlElement(name = "DomainName", required = true)
     protected String domainName;
     @XmlElement(name = "ItemName", required = true)
     protected String itemName;
     @XmlElement(name = "Attribute")
     protected List<Attributeattributes;

    
Gets the value of the domainName property.

Returns:
possible object is
 
     public String getDomainName() {
         return ;
     }

    
Sets the value of the domainName property.

Parameters:
value allowed object is
 
     public void setDomainName(String value) {
         this. = value;
     }

    
Gets the value of the itemName property.

Returns:
possible object is
 
     public String getItemName() {
         return ;
     }

    
Sets the value of the itemName property.

Parameters:
value allowed object is
    public void setItemName(String value) {
        this. = value;
    }

    
Gets the value of the attributes property.

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 set method for the attributes property.

For example, to add a new item, do as follows:

    getAttributes().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<AttributegetAttributes() {
        if ( == null) {
             = new ArrayList<Attribute>();
        }
        return this.;
    }
New to GrepCode? Check out our FAQ X