org.plasma.query.model
Class GroupBy

java.lang.Object
  extended by org.plasma.query.model.GroupBy
All Implemented Interfaces:
Clause, GroupBy, Term

public class GroupBy
extends java.lang.Object
implements GroupBy

Java class for GroupBy complex type.

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

 <complexType name="GroupBy">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.servicelabs.org/plasma/query}Property" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.servicelabs.org/plasma/query}TextContent" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Property> properties
           
protected  TextContent textContent
           
 
Constructor Summary
GroupBy()
           
GroupBy(Property p1)
           
GroupBy(Property[] properties)
           
GroupBy(Property p1, Property p2)
           
GroupBy(Property p1, Property p2, Property p3)
           
GroupBy(Property p1, Property p2, Property p3, Property p4)
           
 
Method Summary
 void accept(QueryVisitor visitor)
           
 void addProperty(Property property)
           
 java.util.List<Property> getProperties()
          Gets the value of the properties property.
 TextContent getTextContent()
          Gets the value of the textContent property.
 void setTextContent(TextContent value)
          Sets the value of the textContent property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected java.util.List<Property> properties

textContent

protected TextContent textContent
Constructor Detail

GroupBy

public GroupBy()

GroupBy

public GroupBy(Property p1)

GroupBy

public GroupBy(Property p1,
               Property p2)

GroupBy

public GroupBy(Property p1,
               Property p2,
               Property p3)

GroupBy

public GroupBy(Property p1,
               Property p2,
               Property p3,
               Property p4)

GroupBy

public GroupBy(Property[] properties)
Method Detail

getProperties

public java.util.List<Property> getProperties()
Gets the value of the properties 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 properties property.

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

    getProperties().add(newItem);
 

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


addProperty

public void addProperty(Property property)

getTextContent

public TextContent getTextContent()
Gets the value of the textContent property.

Returns:
possible object is TextContent

setTextContent

public void setTextContent(TextContent value)
Sets the value of the textContent property.

Parameters:
value - allowed object is TextContent

accept

public void accept(QueryVisitor visitor)


Copyright © 2013. All Rights Reserved.