Class PagingType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.query_3.PagingType
-
- All Implemented Interfaces:
PlainStructured,Serializable,Cloneable
public class PagingType extends Object implements PlainStructured, Serializable, Cloneable
Parameters limiting the number of returned entries, offset, etc. Used in the web service operations such as list or searchJava class for PagingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PagingType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="orderBy" type="{http://prism.evolveum.com/xml/ns/public/types-3}XPathType" minOccurs="0"/> <element name="orderDirection" type="{http://prism.evolveum.com/xml/ns/public/query-2}OrderDirectionType" minOccurs="0"/> <element name="offset" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="maxSize" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.binding.PlainStructured
PlainStructured.WithoutStrategy
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic QNameF_MAX_SIZEstatic QNameF_OFFSETstatic QNameF_ORDER_DIRECTIONprotected IntegermaxSizeprotected Integeroffsetprotected ItemPathTypeorderByprotected OrderDirectionTypeorderDirection
-
Constructor Summary
Constructors Constructor Description PagingType()Creates a newPagingTypeinstance.PagingType(PagingType o)Creates a newPagingTypeinstance by deeply copying a givenPagingTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingTypeclone()Creates and returns a deep copy of this object.booleanequals(Object object)booleanequals(Object object, StructuredEqualsStrategy strategy)IntegergetMaxSize()Gets the value of the maxSize property.IntegergetOffset()Gets the value of the offset property.ItemPathTypegetOrderBy()Gets the value of the orderBy property.OrderDirectionTypegetOrderDirection()Gets the value of the orderDirection property.inthashCode()inthashCode(StructuredHashCodeStrategy strategy)voidsetMaxSize(Integer value)Sets the value of the maxSize property.voidsetOffset(Integer value)Sets the value of the offset property.voidsetOrderBy(ItemPathType value)Sets the value of the orderBy property.voidsetOrderDirection(OrderDirectionType value)Sets the value of the orderDirection property.StringtoString()Generates a String representation of the contents of this type.
-
-
-
Field Detail
-
orderBy
protected ItemPathType orderBy
-
orderDirection
protected OrderDirectionType orderDirection
-
offset
protected Integer offset
-
maxSize
protected Integer maxSize
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_ORDER_DIRECTION
public static final QName F_ORDER_DIRECTION
-
F_OFFSET
public static final QName F_OFFSET
-
F_MAX_SIZE
public static final QName F_MAX_SIZE
-
-
Constructor Detail
-
PagingType
public PagingType()
Creates a newPagingTypeinstance.
-
PagingType
public PagingType(PagingType o)
Creates a newPagingTypeinstance by deeply copying a givenPagingTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
Method Detail
-
getOrderBy
public ItemPathType getOrderBy()
Gets the value of the orderBy property.- Returns:
- possible object is
Element
-
setOrderBy
public void setOrderBy(ItemPathType value)
Sets the value of the orderBy property.- Parameters:
value- allowed object isElement
-
getOrderDirection
public OrderDirectionType getOrderDirection()
Gets the value of the orderDirection property.- Returns:
- possible object is
OrderDirectionType
-
setOrderDirection
public void setOrderDirection(OrderDirectionType value)
Sets the value of the orderDirection property.- Parameters:
value- allowed object isOrderDirectionType
-
getOffset
public Integer getOffset()
Gets the value of the offset property.- Returns:
- possible object is
Integer
-
setOffset
public void setOffset(Integer value)
Sets the value of the offset property.- Parameters:
value- allowed object isInteger
-
getMaxSize
public Integer getMaxSize()
Gets the value of the maxSize property.- Returns:
- possible object is
Integer
-
setMaxSize
public void setMaxSize(Integer value)
Sets the value of the maxSize property.- Parameters:
value- allowed object isInteger
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
-
hashCode
public int hashCode(StructuredHashCodeStrategy strategy)
- Specified by:
hashCodein interfacePlainStructured
-
equals
public boolean equals(Object object, StructuredEqualsStrategy strategy)
- Specified by:
equalsin interfacePlainStructured
-
clone
public PagingType clone()
Creates and returns a deep copy of this object.- Specified by:
clonein interfacePlainStructured- Overrides:
clonein classObject- Returns:
- A deep copy of this object.
-
-