Package com.senzing.sdk
Class SzRecordKeys
- All Implemented Interfaces:
Iterable<SzRecordKey>,Collection<SzRecordKey>,Set<SzRecordKey>
Provides an unmodifiable runtime-typed
Set
whose elements are strictly non-null instances of
SzRecordKey.- Since:
- 4.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProvides a builder class for creating instances ofSzRecordKeys. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty instance with noSzRecordKeyelements.SzRecordKeys(SzRecordKey key) Constructs an instance with exactly oneSzRecordKey.SzRecordKeys(SzRecordKey... keys) Constructs an instance with a variable-argument array ofSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2) Constructs an instance with exactly twoSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) Constructs an instance with exactly threeSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) Constructs an instance with exactly fourSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) Constructs an instance with exactly fiveSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) Constructs an instance with exactly sixSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) Constructs an instance with exactly sevenSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) Constructs an instance with exactly eightSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) Constructs an instance with exactly nineSzRecordKeyinstances.SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) Constructs an instance with exactly tenSzRecordKeyinstances.SzRecordKeys(String... keyParts) Constructs an instance with a variable-argument array ofStringinstances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKeyinstances for this instance.SzRecordKeys(String dataSourceCode, String recordId) Constructs an instance with exactly oneSzRecordKeyusing the specified data source code and record ID.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) Constructs an instance with exactly twoSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) Constructs an instance with exactly threeSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) Constructs an instance with exactly fourSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) Constructs an instance with exactly fiveSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) Constructs an instance with exactly sixSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) Constructs an instance with exactly sevenSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) Constructs an instance with exactly eightSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) Constructs an instance with exactly nineSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) Constructs an instance with exactly tenSzRecordKeyinstances using the specified pairs of data source codes and record ID's.SzRecordKeys(Collection<SzRecordKey> keys) Constructs with the specifiedCollectionof non-nullSzRecordKeyinstances. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancontainsAll(Collection<?> elements) iterator()static SzRecordKeys.BuilderCreates a newSzRecordKeys.Builderfor creating an instance ofSzRecordKeys.static SzRecordKeysof()Constructs an empty instance with noSzRecordKeyelements.static SzRecordKeysof(SzRecordKey key) Constructs an instance with exactly oneSzRecordKey.static SzRecordKeysof(SzRecordKey... keys) Constructs an instance with a variable-argument array ofSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2) Constructs an instance with exactly twoSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) Constructs an instance with exactly threeSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) Constructs an instance with exactly fourSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) Constructs an instance with exactly fiveSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) Constructs an instance with exactly sixSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) Constructs an instance with exactly sevenSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) Constructs an instance with exactly eightSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) Constructs an instance with exactly nineSzRecordKeyinstances.static SzRecordKeysof(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) Constructs an instance with exactly tenSzRecordKeyinstances.static SzRecordKeysConstructs an instance with a variable-argument array ofStringinstances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKeyinstances for this instance.static SzRecordKeysConstructs an instance with exactly oneSzRecordKeyusing the specified data source code and record ID.static SzRecordKeysConstructs an instance with exactly twoSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) Constructs an instance with exactly threeSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) Constructs an instance with exactly fourSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) Constructs an instance with exactly fiveSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) Constructs an instance with exactly sixSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) Constructs an instance with exactly sevenSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) Constructs an instance with exactly eightSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) Constructs an instance with exactly nineSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) Constructs an instance with exactly tenSzRecordKeyinstances using the specified pairs of data source codes and record ID's.static SzRecordKeysof(Collection<SzRecordKey> keys) Constructs with the specifiedCollectionof non-nullSzRecordKeyinstances.intsize()toString()Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
add, addAll, clear, isEmpty, remove, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
SzRecordKeys
Constructs with the specifiedCollectionof non-nullSzRecordKeyinstances.- Parameters:
keys- TheCollectionofSzRecordKeyinstances.- Throws:
NullPointerException- If the specifiedCollectionisnullor containsnullelements.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys()Constructs an empty instance with noSzRecordKeyelements.- Since:
- 4.0.0
-
SzRecordKeys
Constructs an instance with exactly oneSzRecordKey.- Parameters:
key- The singleSzRecordKeyfor this instance.- Throws:
NullPointerException- If the specified parameter isnull.- Since:
- 4.0.0
-
SzRecordKeys
Constructs an instance with exactly twoSzRecordKeyinstances. If the specifiedSzRecordKeyinstances are duplicates of each other then the second will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.- Throws:
NullPointerException- If either of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) throws NullPointerException Constructs an instance with exactly threeSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) throws NullPointerException Constructs an instance with exactly fourSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) throws NullPointerException Constructs an instance with exactly sixSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) throws NullPointerException Constructs an instance with exactly eightSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) throws NullPointerException Constructs an instance with exactly nineSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.key9- The ninthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) throws NullPointerException Constructs an instance with exactly tenSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.key9- The ninthSzRecordKeyfor this instance.key10- The tenthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
Constructs an instance with a variable-argument array ofSzRecordKeyinstances. This constructor is called when an array is specified or eleven or more variable argument parameters are provided. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
keys- The zero or moreSzRecordKeyinstances for this instance.- Throws:
NullPointerException- If any of the specified variable argument parameters or elements in a specified array isnull.- Since:
- 4.0.0
-
SzRecordKeys
Constructs an instance with exactly oneSzRecordKeyusing the specified data source code and record ID.- Parameters:
dataSourceCode- The non-null data source code of the singleSzRecordKeyfor this instance.recordId- The non-null record ID of the singleSzRecordKeyfor this instance.- Throws:
NullPointerException- If either of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) throws NullPointerException Constructs an instance with exactly twoSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If the specified pairs of data source code and record ID's are duplicates of each other then the second pair will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) throws NullPointerException Constructs an instance with exactly threeSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) throws NullPointerException Constructs an instance with exactly fourSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) throws NullPointerException Constructs an instance with exactly sixSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) throws NullPointerException Constructs an instance with exactly eightSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) throws NullPointerException Constructs an instance with exactly nineSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.dataSourceCode9- The data source code of the ninthSzRecordKeyfor this instance.recordId9- The record ID of the ninthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) throws NullPointerException Constructs an instance with exactly tenSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.dataSourceCode9- The data source code of the ninthSzRecordKeyfor this instance.recordId9- The record ID of the ninthSzRecordKeyfor this instance.dataSourceCode10- The data source code of the tenthSzRecordKeyfor this instance.recordId10- The record ID of the tenthSzRecordKeyfor this instance.- Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
SzRecordKeys
Constructs an instance with a variable-argument array ofStringinstances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKeyinstances for this instance. This constructor is called when an arrayStringinstances is specified with twenty-one or more variable argument parameters. If any of the specified pairs of data source code and record ID's is duplicated, then the duplicate pairs will be ignored.- Parameters:
keyParts- The pairs of data source code and record ID pairs for theSzRecordKeyinstances for this instance.- Throws:
IllegalArgumentException- If an odd number of parameters is specified or an array with odd-number length is specified.NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
-
Method Details
-
of
Constructs with the specifiedCollectionof non-nullSzRecordKeyinstances. Unlike theSzRecordKeys(Collection)constructor, this static factory method allows the parameter to benull, resulting in anullreturn value.- Parameters:
keys- TheCollectionofSzRecordKeyinstances.- Returns:
- The newly constructed instance of
SzRecordKeys, ornullif the specified parameter isnull. - Throws:
NullPointerException- If the specifiedCollectioncontainsnullelements.- Since:
- 4.0.0
-
of
Constructs an empty instance with noSzRecordKeyelements.- Returns:
- The newly constructed instance of
SzRecordKeys. - Since:
- 4.0.0
-
of
Constructs an instance with exactly oneSzRecordKey.- Parameters:
key- The singleSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If the specified parameter isnull.- Since:
- 4.0.0
-
of
Constructs an instance with exactly twoSzRecordKeyinstances. If the specifiedSzRecordKeyinstances are duplicates of each other then the second will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If either of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) throws NullPointerException Constructs an instance with exactly threeSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) throws NullPointerException Constructs an instance with exactly fourSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) throws NullPointerException Constructs an instance with exactly sixSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) throws NullPointerException Constructs an instance with exactly eightSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) throws NullPointerException Constructs an instance with exactly nineSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.key9- The ninthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) throws NullPointerException Constructs an instance with exactly tenSzRecordKeyinstances. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.- Parameters:
key1- The firstSzRecordKeyfor this instance.key2- The secondSzRecordKeyfor this instance.key3- The thirdSzRecordKeyfor this instance.key4- The fourthSzRecordKeyfor this instance.key5- The fifthSzRecordKeyfor this instance.key6- The sixthSzRecordKeyfor this instance.key7- The seventhSzRecordKeyfor this instance.key8- The eighthSzRecordKeyfor this instance.key9- The ninthSzRecordKeyfor this instance.key10- The tenthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
Constructs an instance with a variable-argument array ofSzRecordKeyinstances. This method is called when an array is specified or eleven or more variable argument parameters are provided. If any of the specifiedSzRecordKeyinstances are duplicated, then the duplicates will be ignored.Unlike the
SzRecordKeys(SzRecordKey[])constructor, this static factory method allows the parameter to benull, resulting in anullreturn value.- Parameters:
keys- The zero or moreSzRecordKeyinstances for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys, ornullif called with anullarray. - Throws:
NullPointerException- If any of the variable argument parameters isnull.- Since:
- 4.0.0
-
of
Constructs an instance with exactly oneSzRecordKeyusing the specified data source code and record ID.- Parameters:
dataSourceCode- The non-null data source code of the singleSzRecordKeyfor this instance.recordId- The non-null record ID of the singleSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If either of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) throws NullPointerException Constructs an instance with exactly twoSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If the specified pairs of data source code and record ID's are duplicates of each other then the second pair will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) throws NullPointerException Constructs an instance with exactly threeSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) throws NullPointerException Constructs an instance with exactly fourSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) throws NullPointerException Constructs an instance with exactly sixSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) throws NullPointerException Constructs an instance with exactly eightSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) throws NullPointerException Constructs an instance with exactly nineSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.dataSourceCode9- The data source code of the ninthSzRecordKeyfor this instance.recordId9- The record ID of the ninthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) throws NullPointerException Constructs an instance with exactly tenSzRecordKeyinstances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1- The data source code of the firstSzRecordKeyfor this instance.recordId1- The record ID of the firstSzRecordKeyfor this instance.dataSourceCode2- The data source code of the secondSzRecordKeyfor this instance.recordId2- The record ID of the secondSzRecordKeyfor this instance.dataSourceCode3- The data source code of the thirdSzRecordKeyfor this instance.recordId3- The record ID of the thirdSzRecordKeyfor this instance.dataSourceCode4- The data source code of the fourthSzRecordKeyfor this instance.recordId4- The record ID of the fourthSzRecordKeyfor this instance.dataSourceCode5- The data source code of the fifthSzRecordKeyfor this instance.recordId5- The record ID of the fifthSzRecordKeyfor this instance.dataSourceCode6- The data source code of the sixthSzRecordKeyfor this instance.recordId6- The record ID of the sixthSzRecordKeyfor this instance.dataSourceCode7- The data source code of the seventhSzRecordKeyfor this instance.recordId7- The record ID of the seventhSzRecordKeyfor this instance.dataSourceCode8- The data source code of the eighthSzRecordKeyfor this instance.recordId8- The record ID of the eighthSzRecordKeyfor this instance.dataSourceCode9- The data source code of the ninthSzRecordKeyfor this instance.recordId9- The record ID of the ninthSzRecordKeyfor this instance.dataSourceCode10- The data source code of the tenthSzRecordKeyfor this instance.recordId10- The record ID of the tenthSzRecordKeyfor this instance.- Returns:
- The newly constructed instance of
SzRecordKeys. - Throws:
NullPointerException- If any of the specified parameters isnull.- Since:
- 4.0.0
-
of
Constructs an instance with a variable-argument array ofStringinstances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKeyinstances for this instance. This static factory method is called when an array ofStringinstances is specified with an odd number of variable argument parameters or twenty-one or more variable argument parameters. If any of the specified pairs of data source code and record ID's is duplicated, then the duplicate pairs will be ignored.Unlike the
SzRecordKeys(String[])constructor, this static factory method allows the parameter to benull, resulting in anullreturn value.- Parameters:
keyParts- The pairs of data source code and record ID pairs for theSzRecordKeyinstances for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys, ornullif called with anullarray. - Throws:
IllegalArgumentException- If an odd number of parameters is specified or an array with odd-number length is specified.NullPointerException- If any of variable argument parameters or elements in an array parameter isnull.- Since:
- 4.0.0
-
newBuilder
Creates a newSzRecordKeys.Builderfor creating an instance ofSzRecordKeys.- Returns:
- A new
SzRecordKeys.Builderfor creating an instance ofSzRecordKeys. - Since:
- 4.0.0
-
contains
- Specified by:
containsin interfaceCollection<SzRecordKey>- Specified by:
containsin interfaceSet<SzRecordKey>- Overrides:
containsin classAbstractCollection<SzRecordKey>
-
containsAll
- Specified by:
containsAllin interfaceCollection<SzRecordKey>- Specified by:
containsAllin interfaceSet<SzRecordKey>- Overrides:
containsAllin classAbstractCollection<SzRecordKey>
-
iterator
- Specified by:
iteratorin interfaceCollection<SzRecordKey>- Specified by:
iteratorin interfaceIterable<SzRecordKey>- Specified by:
iteratorin interfaceSet<SzRecordKey>- Specified by:
iteratorin classAbstractCollection<SzRecordKey>
-
size
public int size()- Specified by:
sizein interfaceCollection<SzRecordKey>- Specified by:
sizein interfaceSet<SzRecordKey>- Specified by:
sizein classAbstractCollection<SzRecordKey>
-
toString
- Overrides:
toStringin classAbstractCollection<SzRecordKey>
-