Class Counter
java.lang.Object
org.apache.camel.component.salesforce.api.dto.composite.Counter
- All Implemented Interfaces:
ReferenceGenerator
Default
ReferenceGenerator
implementation that generates a counted sequence of references (ref1, ref2, ...).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextReferenceFor
(Object object) Generates unique, within a request, reference identifier for the given object.
-
Constructor Details
-
Counter
public Counter()
-
-
Method Details
-
nextReferenceFor
Description copied from interface:ReferenceGenerator
Generates unique, within a request, reference identifier for the given object. Reference identifier must start with an alphanumeric.- Specified by:
nextReferenceFor
in interfaceReferenceGenerator
- Parameters:
object
- object to generate reference identifier for- Returns:
- generated reference identifier
-