Package de.pisa.psa.rst.uti
Class ContinuationKey
- java.lang.Object
-
- de.pisa.psa.rst.uti.ContinuationKey
-
public class ContinuationKey extends java.lang.Object
Generator and parser for the continuation key- Since:
- 07.07.2023
- Author:
- weiland
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContinuationKey.Entry
entry
-
Constructor Summary
Constructors Constructor Description ContinuationKey(de.pisa.psc.srv.dto.PscDto dto, int row)
Constructor for generating a keyContinuationKey(de.pisa.psc.srv.dto.PscDto dto, java.lang.String key)
Constructor for parsing a key
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generate()
generate the keyContinuationKey.Entry
getKey()
get the key entryContinuationKey.Entry
getSort()
get the sort entryjava.lang.String
toString()
-
-
-
Constructor Detail
-
ContinuationKey
public ContinuationKey(de.pisa.psc.srv.dto.PscDto dto, int row) throws java.lang.Exception
Constructor for generating a key- Parameters:
dto
- data objectrow
- row- Throws:
java.lang.Exception
-
ContinuationKey
public ContinuationKey(de.pisa.psc.srv.dto.PscDto dto, java.lang.String key) throws de.pisa.psc.srv.glb.PscExc
Constructor for parsing a key- Parameters:
dto
- data objectkey
- continuation key- Throws:
de.pisa.psc.srv.glb.PscExc
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
generate
public java.lang.String generate()
generate the key- Returns:
- key
-
getSort
public ContinuationKey.Entry getSort()
get the sort entry- Returns:
- sort entry
-
getKey
public ContinuationKey.Entry getKey()
get the key entry- Returns:
- key entry
-
-