Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 package org.opendope.SmartArt.dataHierarchy;
 
 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 ref="{http://opendope.org/SmartArt/DataHierarchy}p" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="contentRef" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
@XmlType(name = "", propOrder = {
    "p"
})
@XmlRootElement(name = "textBody")
public class TextBody {
    protected List<Stringp;
    protected String contentRef;

    
Gets the value of the p 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 p property.

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

    getP().add(newItem);
 

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

    public List<StringgetP() {
        if ( == null) {
             = new ArrayList<String>();
        }
        return this.;
    }

    
Gets the value of the contentRef property.

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

    
Sets the value of the contentRef property.

Parameters:
value allowed object is
    public void setContentRef(String value) {
        this. = value;
    }
New to GrepCode? Check out our FAQ X