|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.core.general.PageRange
public class PageRange
Page Range type. A page range specifies a range of records starting from the First
record index and ending at the Last
record index time.
Page Range instances can be serialized as an XML document. This XML document can also be used to recreate a Page Range object. The following XML document shows an example Page Range in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:PageRange xmlns:core="http://xmlns.oracle.com/irm/core">
<first>20</first>
<last>40</last>
</core:PageRange>
Constructor Summary | |
---|---|
PageRange() No argument constructor. |
|
PageRange(int first, int last) Constructor. |
Method Summary | |
---|---|
int |
getFirst() First record index. |
int |
getLast() Last record index. |
void |
setFirst(int value) First record index. |
void |
setLast(int value) Last record index. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageRange()
public PageRange(int first, int last)
Method Detail |
---|
public int getFirst()
public void setFirst(int value)
value
- the new value for the property.public int getLast()
public void setLast(int value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |