Interface ReferenceGenerator
-
- All Known Implementing Classes:
Counter
public interface ReferenceGeneratorSObject tree Composite API interface forreferenceIdgeneration. For each object given to thenextReferenceFor(Object)method, the implementation should generate reference identifiers. Reference identifiers need to be unique within one SObject tree request and should start with alphanumeric character. For example you can provide yourReferenceGeneratorimplementation that uses identities within your own system as references, i.e. primary keys of records in your database.- See Also:
Counter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringnextReferenceFor(Object object)Generates unique, within a request, reference identifier for the given object.
-