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 QName
COMPLEX_TYPE
static QName
F_MAX_SIZE
static QName
F_OFFSET
static QName
F_ORDER_DIRECTION
protected Integer
maxSize
protected Integer
offset
protected ItemPathType
orderBy
protected OrderDirectionType
orderDirection
-
Constructor Summary
Constructors Constructor Description PagingType()
Creates a newPagingType
instance.PagingType(PagingType o)
Creates a newPagingType
instance by deeply copying a givenPagingType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingType
clone()
Creates and returns a deep copy of this object.boolean
equals(Object object)
boolean
equals(Object object, StructuredEqualsStrategy strategy)
Integer
getMaxSize()
Gets the value of the maxSize property.Integer
getOffset()
Gets the value of the offset property.ItemPathType
getOrderBy()
Gets the value of the orderBy property.OrderDirectionType
getOrderDirection()
Gets the value of the orderDirection property.int
hashCode()
int
hashCode(StructuredHashCodeStrategy strategy)
void
setMaxSize(Integer value)
Sets the value of the maxSize property.void
setOffset(Integer value)
Sets the value of the offset property.void
setOrderBy(ItemPathType value)
Sets the value of the orderBy property.void
setOrderDirection(OrderDirectionType value)
Sets the value of the orderDirection property.String
toString()
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 newPagingType
instance.
-
PagingType
public PagingType(PagingType o)
Creates a newPagingType
instance by deeply copying a givenPagingType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
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:
hashCode
in interfacePlainStructured
-
equals
public boolean equals(Object object, StructuredEqualsStrategy strategy)
- Specified by:
equals
in interfacePlainStructured
-
clone
public PagingType clone()
Creates and returns a deep copy of this object.- Specified by:
clone
in interfacePlainStructured
- Overrides:
clone
in classObject
- Returns:
- A deep copy of this object.
-
-