Package com.opentext.ia.sdk.sip
Class SequentialDssIdSupplier
- java.lang.Object
-
- com.opentext.ia.sdk.sip.PrefixDssIdSupplier
-
- com.opentext.ia.sdk.sip.SequentialDssIdSupplier
-
- All Implemented Interfaces:
java.util.function.Supplier<java.lang.String>
public class SequentialDssIdSupplier extends PrefixDssIdSupplier
Generate Data Submission Session (DSS) IDs from a prefix and an increasing counter.
-
-
Constructor Summary
Constructors Constructor Description SequentialDssIdSupplier(java.lang.String prefix)
Create an instance that starts at 1.SequentialDssIdSupplier(java.lang.String prefix, long counter)
Create an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
postfix()
-
Methods inherited from class com.opentext.ia.sdk.sip.PrefixDssIdSupplier
get
-
-
-
-
Constructor Detail
-
SequentialDssIdSupplier
public SequentialDssIdSupplier(java.lang.String prefix)
Create an instance that starts at 1.- Parameters:
prefix
- The prefix for all generated DSS IDs
-
SequentialDssIdSupplier
public SequentialDssIdSupplier(java.lang.String prefix, long counter)
Create an instance.- Parameters:
prefix
- The prefix for all generated DSS IDscounter
- Where to start counting
-
-
Method Detail
-
postfix
protected java.lang.String postfix()
- Specified by:
postfix
in classPrefixDssIdSupplier
-
-