Class QueryType
- java.lang.Object
-
- nl.b3p.csw.jaxb.csw.AbstractQueryType
-
- nl.b3p.csw.jaxb.csw.QueryType
-
public class QueryType extends AbstractQueryType
Specifies a query to execute against instances of one or more object types. A set of ElementName elements may be included to specify an adhoc view of the csw:Record instances in the result set. Otherwise, use ElementSetName to specify a predefined view. The Constraint element contains a query filter expressed in a supported query language. A sorting criterion that specifies a property to sort by may be included. typeNames - a list of object types to query.Java class for QueryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QueryType"> <complexContent> <extension base="{http://www.opengis.net/cat/csw/2.0.2}AbstractQueryType"> <sequence> <choice> <element ref="{http://www.opengis.net/cat/csw/2.0.2}ElementSetName"/> <element name="ElementName" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded"/> </choice> <element ref="{http://www.opengis.net/cat/csw/2.0.2}Constraint" minOccurs="0"/> <element ref="{http://www.opengis.net/ogc}SortBy" minOccurs="0"/> </sequence> <attribute name="typeNames" use="required" type="{http://www.opengis.net/cat/csw/2.0.2}TypeNameListType" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Constraintconstraintprotected List<QName>elementNameprotected ElementSetNameelementSetNameprotected SortBysortByprotected List<QName>typeNames
-
Constructor Summary
Constructors Constructor Description QueryType()Default no-arg constructorQueryType(ElementSetName elementSetName, List<QName> elementName, Constraint constraint, SortBy sortBy, List<QName> typeNames)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintgetConstraint()Gets the value of the constraint property.List<QName>getElementName()Gets the value of the elementName property.ElementSetNamegetElementSetName()Gets the value of the elementSetName property.SortBygetSortBy()Gets the value of the sortBy property.List<QName>getTypeNames()Gets the value of the typeNames property.voidsetConstraint(Constraint value)Sets the value of the constraint property.voidsetElementSetName(ElementSetName value)Sets the value of the elementSetName property.voidsetSortBy(SortBy value)Sets the value of the sortBy property.
-
-
-
Field Detail
-
elementSetName
protected ElementSetName elementSetName
-
constraint
protected Constraint constraint
-
sortBy
protected SortBy sortBy
-
-
Constructor Detail
-
QueryType
public QueryType()
Default no-arg constructor
-
QueryType
public QueryType(ElementSetName elementSetName, List<QName> elementName, Constraint constraint, SortBy sortBy, List<QName> typeNames)
Fully-initialising value constructor
-
-
Method Detail
-
getElementSetName
public ElementSetName getElementSetName()
Gets the value of the elementSetName property.- Returns:
- possible object is
ElementSetName
-
setElementSetName
public void setElementSetName(ElementSetName value)
Sets the value of the elementSetName property.- Parameters:
value- allowed object isElementSetName
-
getElementName
public List<QName> getElementName()
Gets the value of the elementName 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
setmethod for the elementName property.For example, to add a new item, do as follows:
getElementName().add(newItem);Objects of the following type(s) are allowed in the list
QName
-
getConstraint
public Constraint getConstraint()
Gets the value of the constraint property.- Returns:
- possible object is
Constraint
-
setConstraint
public void setConstraint(Constraint value)
Sets the value of the constraint property.- Parameters:
value- allowed object isConstraint
-
getSortBy
public SortBy getSortBy()
Gets the value of the sortBy property.- Returns:
- possible object is
SortBy
-
setSortBy
public void setSortBy(SortBy value)
Sets the value of the sortBy property.- Parameters:
value- allowed object isSortBy
-
getTypeNames
public List<QName> getTypeNames()
Gets the value of the typeNames 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
setmethod for the typeNames property.For example, to add a new item, do as follows:
getTypeNames().add(newItem);Objects of the following type(s) are allowed in the list
QName
-
-