Package com.senzing.sdk
Class SzEntityIds.Builder
java.lang.Object
com.senzing.sdk.SzEntityIds.Builder
- Enclosing class:
SzEntityIds
Provides a builder class for creating instances of
SzEntityIds.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a new instance ofSzEntityIdsusing theLongentity ID instances that were added to this builder instance.Adds aLongentity ID instance to thisSzEntityIds.Builder.
-
Method Details
-
id
Adds aLongentity ID instance to thisSzEntityIds.Builder.- Parameters:
entityId- TheLongentity ID to add to thisSzEntityIds.Builder.- Returns:
- A reference to this instance.
- Throws:
NullPointerException- If the specified parameter isnull.IllegalStateException- If this builder has already had itsbuild()method called.- Since:
- 4.0.0
-
build
Builds a new instance ofSzEntityIdsusing theLongentity ID instances that were added to this builder instance.- Returns:
- The newly constructed instance of
SzEntityIds. - Throws:
IllegalStateException- If this builder has already had itsbuild()method called.- Since:
- 4.0.0
-