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, vhudson-jaxb-ri-2.1-792 
  // 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: 2009.09.10 at 10:11:39 AM CEST 
  //
  
  
  package org.ow2.easywsdl.wsdl.org.xmlsoap.schemas.wsdl;
 
 import java.util.List;

Java class for tExtensibleDocumented complex type.

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

 <complexType name="tExtensibleDocumented">
   <complexContent>
     <extension base="{http://schemas.xmlsoap.org/wsdl/}tDocumented">
       <sequence>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "tExtensibleDocumented", propOrder = {
     "any"
 })
     TDefinitions.class,
     TOperation.class,
     TTypes.class,
     TPort.class,
     TBinding.class,
     TBindingOperation.class,
     TBindingOperationFault.class,
     TMessage.class,
     TService.class
 })
 public abstract class TExtensibleDocumented
     extends TDocumented
     implements EqualsHashCodeToString
 {
 
     @XmlAnyElement(lax = true)
     protected List<Objectany;

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

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

    getAny().add(newItem);
 

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

 
     public List<ObjectgetAny() {
         if ( == null) {
              = new ArrayList<Object>();
         }
        return this.;
    }
    public void toString(ToStringBuilder toStringBuilder) {
        super.toString(toStringBuilder);
        {
            List<ObjecttheAny;
            theAny = this.getAny();
            toStringBuilder.append("any"theAny);
        }
    }
    public String toString() {
        final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
        toString(toStringBuilder);
        return toStringBuilder.toString();
    }
    public void equals(Object objectEqualsBuilder equalsBuilder) {
        if (!(object instanceof TExtensibleDocumented)) {
            equalsBuilder.appendSuper(false);
            return ;
        }
        if (this == object) {
            return ;
        }
        super.equals(objectequalsBuilder);
        final TExtensibleDocumented that = ((TExtensibleDocumentedobject);
        equalsBuilder.append(this.getAny(), that.getAny());
    }
    public boolean equals(Object object) {
        if (!(object instanceof TExtensibleDocumented)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder();
        equals(objectequalsBuilder);
        return equalsBuilder.isEquals();
    }
    public void hashCode(HashCodeBuilder hashCodeBuilder) {
        super.hashCode(hashCodeBuilder);
        hashCodeBuilder.append(this.getAny());
    }
    public int hashCode() {
        final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
        hashCode(hashCodeBuilder);
        return hashCodeBuilder.toHashCode();
    }
New to GrepCode? Check out our FAQ X