Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package oasis.names.tc.ebxml_regrep.xsd.query._3;
  

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryRequestType">
       <sequence>
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ResponseOption"/>
         <element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}AdhocQuery"/>
       </sequence>
       <attribute name="federated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="federation" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="startIndex" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
       <attribute name="maxResults" type="{http://www.w3.org/2001/XMLSchema}integer" default="-1" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "responseOption",
     "adhocQuery"
 })
 @XmlRootElement(name = "AdhocQueryRequest")
 public class AdhocQueryRequest
     extends RegistryRequestType
 {
 
     @XmlElement(name = "ResponseOption", required = true)
     protected ResponseOptionType responseOption;
     @XmlElement(name = "AdhocQuery", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0", required = true)
     protected AdhocQueryType adhocQuery;
     @XmlAttribute
     protected Boolean federated;
     @XmlAttribute
     @XmlSchemaType(name = "anyURI")
     protected String federation;
     @XmlAttribute
     protected BigInteger startIndex;
     @XmlAttribute
     protected BigInteger maxResults;

    
Gets the value of the responseOption property.

Returns:
possible object is
 
     public ResponseOptionType getResponseOption() {
         return ;
     }

    
Sets the value of the responseOption property.

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

    
Gets the value of the adhocQuery property.

Returns:
possible object is
 
     public AdhocQueryType getAdhocQuery() {
         return ;
     }

    
Sets the value of the adhocQuery property.

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

    
Gets the value of the federated property.

Returns:
possible object is
    public boolean isFederated() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the federated property.

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

    
Gets the value of the federation property.

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

    
Sets the value of the federation property.

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

    
Gets the value of the startIndex property.

Returns:
possible object is
    public BigInteger getStartIndex() {
        if ( == null) {
            return new BigInteger("0");
        } else {
            return ;
        }
    }

    
Sets the value of the startIndex property.

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

    
Gets the value of the maxResults property.

Returns:
possible object is
    public BigInteger getMaxResults() {
        if ( == null) {
            return new BigInteger("-1");
        } else {
            return ;
        }
    }

    
Sets the value of the maxResults property.

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