aspose.barcode 25.11.0 → 26.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/ComplexBarcode.js
CHANGED
|
@@ -5,6 +5,8 @@ const joint = require('./Joint');
|
|
|
5
5
|
|
|
6
6
|
const java = require('java');
|
|
7
7
|
const aspose_barcode = require("./AsposeBarcode");
|
|
8
|
+
const {BaseJavaClass} = require("./Joint");
|
|
9
|
+
const {Base} = require("mocha/lib/reporters");
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
/**
|
|
@@ -620,6 +622,21 @@ class ComplexCodetextReader {
|
|
|
620
622
|
return null;
|
|
621
623
|
return HIBCPASCodetext.construct(javaHIBCPAS);
|
|
622
624
|
}
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* <p>
|
|
629
|
+
* Decodes USADriveId codetext.
|
|
630
|
+
* </p>
|
|
631
|
+
* @return Decoded USADriveId or null.
|
|
632
|
+
* @param encodedCodetext Encoded codetext
|
|
633
|
+
*/
|
|
634
|
+
static tryDecodeUSADriveId(encodedCodetext)
|
|
635
|
+
{
|
|
636
|
+
let javaComplexCodetextReader = java.import(ComplexCodetextReader.javaClassName);
|
|
637
|
+
let usaDriveIdCodetext = javaComplexCodetextReader.tryDecodeUSADriveIdSync(encodedCodetext);
|
|
638
|
+
return usaDriveIdCodetext == null ? null : new USADriveIdCodetext(usaDriveIdCodetext);
|
|
639
|
+
}
|
|
623
640
|
}
|
|
624
641
|
|
|
625
642
|
/**
|
|
@@ -1514,7 +1531,7 @@ class Mailmark2DCodetext extends IComplexCodetext
|
|
|
1514
1531
|
* let results = reader.readBarCodes();
|
|
1515
1532
|
* for(let i = 0; i < results.length; i++)
|
|
1516
1533
|
* {
|
|
1517
|
-
* let result = results[i];
|
|
1534
|
+
* let result = results[i];
|
|
1518
1535
|
* let resultMaxiCodeCodetext = ComplexCodetextReader.tryDecodeMaxiCode(result.getExtended().getMaxiCode().getMaxiCodeMode(), result.getCodeText());
|
|
1519
1536
|
* console.log("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType());
|
|
1520
1537
|
* console.log("MaxiCode mode: " + resultMaxiCodeCodetext.getMode());
|
|
@@ -1531,9 +1548,34 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1531
1548
|
{
|
|
1532
1549
|
|
|
1533
1550
|
}
|
|
1551
|
+
/**
|
|
1552
|
+
* <p>
|
|
1553
|
+
* Gets a MaxiCode encode mode.
|
|
1554
|
+
* Default value: Auto.
|
|
1555
|
+
* </p>
|
|
1556
|
+
* @return a MaxiCode encode mode.
|
|
1557
|
+
*/
|
|
1558
|
+
getEncodeMode()
|
|
1559
|
+
{
|
|
1560
|
+
return this.getJavaClass().getEncodeModeSync();
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* <p>
|
|
1565
|
+
* Sets a MaxiCode encode mode.
|
|
1566
|
+
* Default value: Auto.
|
|
1567
|
+
* </p>
|
|
1568
|
+
* @param value a MaxiCode encode mode.
|
|
1569
|
+
*/
|
|
1570
|
+
setEncodeMode(value)
|
|
1571
|
+
{
|
|
1572
|
+
this.getJavaClass().setEncodeModeSync(value);
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1534
1575
|
|
|
1535
1576
|
/**
|
|
1536
1577
|
* Gets a MaxiCode encode mode.
|
|
1578
|
+
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the getEncodeMode().
|
|
1537
1579
|
*/
|
|
1538
1580
|
getMaxiCodeEncodeMode()
|
|
1539
1581
|
{
|
|
@@ -1542,6 +1584,7 @@ class MaxiCodeCodetext extends IComplexCodetext
|
|
|
1542
1584
|
|
|
1543
1585
|
/**
|
|
1544
1586
|
* Sets a MaxiCode encode mode.
|
|
1587
|
+
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the setEncodeMode().
|
|
1545
1588
|
*/
|
|
1546
1589
|
setMaxiCodeEncodeMode(value)
|
|
1547
1590
|
{
|
|
@@ -1736,15 +1779,15 @@ class MaxiCodeStandardCodetext extends MaxiCodeCodetext
|
|
|
1736
1779
|
/**
|
|
1737
1780
|
* Class for encoding and decoding standart second message for MaxiCode barcode.
|
|
1738
1781
|
*/
|
|
1739
|
-
class
|
|
1782
|
+
class MaxiCodeStandardSecondMessage extends MaxiCodeSecondMessage
|
|
1740
1783
|
{
|
|
1741
|
-
static JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.
|
|
1784
|
+
static JAVA_CLASS_NAME = "com.aspose.mw.barcode.complexbarcode.MwMaxiCodeStandardSecondMessage";
|
|
1742
1785
|
|
|
1743
1786
|
constructor()
|
|
1744
1787
|
{
|
|
1745
1788
|
try
|
|
1746
1789
|
{
|
|
1747
|
-
let java_class_link = java.import(
|
|
1790
|
+
let java_class_link = java.import(MaxiCodeStandardSecondMessage.JAVA_CLASS_NAME);
|
|
1748
1791
|
let javaClass = new java_class_link();
|
|
1749
1792
|
super(javaClass);
|
|
1750
1793
|
}
|
|
@@ -1756,7 +1799,7 @@ class MaxiCodeStandartSecondMessage extends MaxiCodeSecondMessage
|
|
|
1756
1799
|
|
|
1757
1800
|
static construct(javaClass)
|
|
1758
1801
|
{
|
|
1759
|
-
let _class = new
|
|
1802
|
+
let _class = new MaxiCodeStandardSecondMessage();
|
|
1760
1803
|
_class.setJavaClass(javaClass);
|
|
1761
1804
|
|
|
1762
1805
|
return _class;
|
|
@@ -1779,8 +1822,8 @@ class MaxiCodeStandartSecondMessage extends MaxiCodeSecondMessage
|
|
|
1779
1822
|
}
|
|
1780
1823
|
|
|
1781
1824
|
/**
|
|
1782
|
-
* Returns a value indicating whether this instance is equal to a specified <see cref="
|
|
1783
|
-
* @param obj An <see cref="
|
|
1825
|
+
* Returns a value indicating whether this instance is equal to a specified <see cref="MaxiCodeStandardSecondMessage"/> value.
|
|
1826
|
+
* @param obj An <see cref="MaxiCodeStandardSecondMessage"/> value to compare to this instance
|
|
1784
1827
|
* @return <b>true</b> if obj has the same value as this instance; otherwise, <b>false</b>.
|
|
1785
1828
|
*/
|
|
1786
1829
|
equals(obj)
|
|
@@ -1802,6 +1845,19 @@ class MaxiCodeStandartSecondMessage extends MaxiCodeSecondMessage
|
|
|
1802
1845
|
}
|
|
1803
1846
|
}
|
|
1804
1847
|
|
|
1848
|
+
/**
|
|
1849
|
+
* Class for encoding and decoding standart second message for MaxiCode barcode.
|
|
1850
|
+
*
|
|
1851
|
+
* @deprecated
|
|
1852
|
+
*/
|
|
1853
|
+
class MaxiCodeStandartSecondMessage extends MaxiCodeStandardSecondMessage
|
|
1854
|
+
{
|
|
1855
|
+
constructor()
|
|
1856
|
+
{
|
|
1857
|
+
super();
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1805
1861
|
/**
|
|
1806
1862
|
* Base class for encoding and decoding the text embedded in the MaxiCode code for modes 2 and 3.
|
|
1807
1863
|
*
|
|
@@ -1844,8 +1900,8 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1844
1900
|
init()
|
|
1845
1901
|
{
|
|
1846
1902
|
let javaMaxiCodeSecondMessage = this.getJavaClass().getSecondMessageSync();
|
|
1847
|
-
let
|
|
1848
|
-
let
|
|
1903
|
+
let javaMaxiCodeStandardSecondMessageClass = java.import(MaxiCodeStandardSecondMessage.JAVA_CLASS_NAME);
|
|
1904
|
+
let javaMaxiCodeStandardSecondMessage = new javaMaxiCodeStandardSecondMessageClass();
|
|
1849
1905
|
let javaMaxiCodeStructuredSecondMessageClass = java.import(MaxiCodeStructuredSecondMessage.JAVA_CLASS_NAME);
|
|
1850
1906
|
let javaMaxiCodeStructuredSecondMessage = new javaMaxiCodeStructuredSecondMessageClass();
|
|
1851
1907
|
|
|
@@ -1853,9 +1909,9 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1853
1909
|
{
|
|
1854
1910
|
this.maxiCodeSecondMessage = null;
|
|
1855
1911
|
}
|
|
1856
|
-
else if(java.instanceOf(javaMaxiCodeSecondMessage,
|
|
1912
|
+
else if(java.instanceOf(javaMaxiCodeSecondMessage, javaMaxiCodeStandardSecondMessage.getClassSync().getNameSync()))
|
|
1857
1913
|
{
|
|
1858
|
-
this.maxiCodeSecondMessage =
|
|
1914
|
+
this.maxiCodeSecondMessage = MaxiCodeStandardSecondMessage.construct(this.getJavaClass().getSecondMessageSync());
|
|
1859
1915
|
}
|
|
1860
1916
|
else if(java.instanceOf(javaMaxiCodeSecondMessage, javaMaxiCodeStructuredSecondMessage.getClassSync().getNameSync()))
|
|
1861
1917
|
{
|
|
@@ -1978,9 +2034,9 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
1978
2034
|
* maxiCodeCodetext.setPostalCode("524032140");
|
|
1979
2035
|
* maxiCodeCodetext.setCountryCode(056);
|
|
1980
2036
|
* maxiCodeCodetext.setServiceCategory(999);
|
|
1981
|
-
* let
|
|
1982
|
-
*
|
|
1983
|
-
* maxiCodeCodetext.setSecondMessage(
|
|
2037
|
+
* let MaxiCodeStandardSecondMessage = new MaxiCodeStandardSecondMessage();
|
|
2038
|
+
* MaxiCodeStandardSecondMessage.setMessage("Test message");
|
|
2039
|
+
* maxiCodeCodetext.setSecondMessage(MaxiCodeStandardSecondMessage);
|
|
1984
2040
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
1985
2041
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
1986
2042
|
*
|
|
@@ -2013,7 +2069,7 @@ class MaxiCodeStructuredCodetext extends MaxiCodeCodetext
|
|
|
2013
2069
|
* console.log("BarCode Type: " + maxiCodeStructuredCodetext.getPostalCode());
|
|
2014
2070
|
* console.log("MaxiCode mode: " + maxiCodeStructuredCodetext.getCountryCode());
|
|
2015
2071
|
* console.log("BarCode CodeText: " + maxiCodeStructuredCodetext.getServiceCategory());
|
|
2016
|
-
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceof
|
|
2072
|
+
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceof MaxiCodeStandardSecondMessage)
|
|
2017
2073
|
* {
|
|
2018
2074
|
* let secondMessage = maxiCodeStructuredCodetext.getSecondMessage();
|
|
2019
2075
|
* console.log("Message: " + secondMessage.getMessage());
|
|
@@ -2097,9 +2153,9 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2097
2153
|
* maxiCodeCodetext.setPostalCode("B1050");
|
|
2098
2154
|
* maxiCodeCodetext.setCountryCode(056);
|
|
2099
2155
|
* maxiCodeCodetext.setServiceCategory(999);
|
|
2100
|
-
* let
|
|
2101
|
-
*
|
|
2102
|
-
* maxiCodeCodetext.setSecondMessage(
|
|
2156
|
+
* let MaxiCodeStandardSecondMessage = new MaxiCodeStandardSecondMessage();
|
|
2157
|
+
* MaxiCodeStandardSecondMessage.setMessage("Test message");
|
|
2158
|
+
* maxiCodeCodetext.setSecondMessage(MaxiCodeStandardSecondMessage);
|
|
2103
2159
|
* let complexGenerator = new ComplexBarcodeGenerator(maxiCodeCodetext);
|
|
2104
2160
|
* complexGenerator.generateBarCodeImage(BarcodeImageFormat.PNG);
|
|
2105
2161
|
*
|
|
@@ -2132,7 +2188,7 @@ class MaxiCodeCodetextMode2 extends MaxiCodeStructuredCodetext
|
|
|
2132
2188
|
* console.log("BarCode Type: " + maxiCodeStructuredCodetext.getPostalCode());
|
|
2133
2189
|
* console.log("MaxiCode mode: " + maxiCodeStructuredCodetext.getCountryCode());
|
|
2134
2190
|
* console.log("BarCode CodeText: " + maxiCodeStructuredCodetext.getServiceCategory());
|
|
2135
|
-
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceOf
|
|
2191
|
+
* if (maxiCodeStructuredCodetext.getSecondMessage() instanceOf MaxiCodeStandardSecondMessage)
|
|
2136
2192
|
* {
|
|
2137
2193
|
* let secondMessage = maxiCodeStructuredCodetext.getSecondMessage();
|
|
2138
2194
|
* console.log("Message: " + secondMessage.getMessage());
|
|
@@ -2326,7 +2382,7 @@ class MaxiCodeStructuredSecondMessage extends MaxiCodeSecondMessage
|
|
|
2326
2382
|
* let results = reader.readBarCodes();
|
|
2327
2383
|
* for(let i = 0; i < results.length; i++)
|
|
2328
2384
|
* {
|
|
2329
|
-
* let result = results[i];
|
|
2385
|
+
* let result = results[i];
|
|
2330
2386
|
* let resultHIBCLICComplexCodetext = ComplexCodetextReader.tryDecodeHIBCLIC(result.getCodeText());
|
|
2331
2387
|
* print("BarCode Type: " + resultMaxiCodeCodetext.getBarcodeType());
|
|
2332
2388
|
* print("BarCode CodeText: " + resultMaxiCodeCodetext.getConstructedCodetext());
|
|
@@ -2963,6 +3019,7 @@ class HIBCPASCodetext extends IComplexCodetext
|
|
|
2963
3019
|
initFromString(constructedCodetext)
|
|
2964
3020
|
{
|
|
2965
3021
|
this.getJavaClass().initFromStringSync(constructedCodetext);
|
|
3022
|
+
this.init();
|
|
2966
3023
|
}
|
|
2967
3024
|
|
|
2968
3025
|
/**
|
|
@@ -3762,6 +3819,1764 @@ HIBCPASDataType =
|
|
|
3762
3819
|
USER_DEFINED: 25
|
|
3763
3820
|
}
|
|
3764
3821
|
|
|
3822
|
+
|
|
3823
|
+
/**
|
|
3824
|
+
* <p>
|
|
3825
|
+
* Class for Jurisdiction specific fields for USA DL
|
|
3826
|
+
* </p>
|
|
3827
|
+
*/
|
|
3828
|
+
class USADriveIdJurisdSubfile extends BaseJavaClass
|
|
3829
|
+
{
|
|
3830
|
+
constructor(nativeObject)
|
|
3831
|
+
{
|
|
3832
|
+
super(nativeObject);
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
init()
|
|
3836
|
+
{
|
|
3837
|
+
|
|
3838
|
+
}
|
|
3839
|
+
|
|
3840
|
+
/**
|
|
3841
|
+
* <p>
|
|
3842
|
+
* Indexing by 3-letter element id
|
|
3843
|
+
* </p>
|
|
3844
|
+
* @return Corresponding DataElement
|
|
3845
|
+
* @param id 3-letter element id
|
|
3846
|
+
*/
|
|
3847
|
+
get(id)
|
|
3848
|
+
{
|
|
3849
|
+
return new DataElement(this.getJavaClass().getSync(id));
|
|
3850
|
+
}
|
|
3851
|
+
/**
|
|
3852
|
+
* <p>
|
|
3853
|
+
* Indexing by 3-letter element id
|
|
3854
|
+
* </p>
|
|
3855
|
+
* @return Corresponding DataElement
|
|
3856
|
+
* @param id 3-letter element id
|
|
3857
|
+
*/
|
|
3858
|
+
set(id, value)
|
|
3859
|
+
{
|
|
3860
|
+
this.getJavaClass().set_Item(id, value.getJavaClass());
|
|
3861
|
+
}
|
|
3862
|
+
/**
|
|
3863
|
+
* <p>
|
|
3864
|
+
* Indexing by index number
|
|
3865
|
+
* </p>
|
|
3866
|
+
* @return Corresponding DataElement
|
|
3867
|
+
* @param index Element index (int)
|
|
3868
|
+
*/
|
|
3869
|
+
get(index)
|
|
3870
|
+
{
|
|
3871
|
+
return new DataElement(this.getJavaClass().getSync(index));
|
|
3872
|
+
}
|
|
3873
|
+
/**
|
|
3874
|
+
* <p>
|
|
3875
|
+
* Indexing by index number
|
|
3876
|
+
* </p>
|
|
3877
|
+
* @return Corresponding DataElement
|
|
3878
|
+
* @param index Element index (int)
|
|
3879
|
+
*/
|
|
3880
|
+
set(index, value)
|
|
3881
|
+
{
|
|
3882
|
+
this.getJavaClass().set_Item(index, value.getJavaClass());
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* <p>
|
|
3887
|
+
* Searches for data element by 3-letter id
|
|
3888
|
+
* </p>
|
|
3889
|
+
* @return Found data element
|
|
3890
|
+
* @param id 3-letter id
|
|
3891
|
+
* @param isOpenOrCreate If true, it will be created if not found
|
|
3892
|
+
*/
|
|
3893
|
+
findDataElement(id, isOpenOrCreate)
|
|
3894
|
+
{
|
|
3895
|
+
return new DataElement(this.getJavaClass().findDataElementSync(id, isOpenOrCreate));
|
|
3896
|
+
}
|
|
3897
|
+
/**
|
|
3898
|
+
* <p>
|
|
3899
|
+
* Returns number of data elements
|
|
3900
|
+
* </p>
|
|
3901
|
+
*/
|
|
3902
|
+
size()
|
|
3903
|
+
{
|
|
3904
|
+
return this.getJavaClass().sizeSync();
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
/**
|
|
3908
|
+
* <p>
|
|
3909
|
+
* Clears all data elements
|
|
3910
|
+
* </p>
|
|
3911
|
+
*/
|
|
3912
|
+
clear()
|
|
3913
|
+
{
|
|
3914
|
+
this.getJavaClass().clearSync();
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3917
|
+
/**
|
|
3918
|
+
* <p>
|
|
3919
|
+
* Tries to remove element at index
|
|
3920
|
+
* </p>
|
|
3921
|
+
* @return true if successful, false if out of range
|
|
3922
|
+
* @param index index number
|
|
3923
|
+
*/
|
|
3924
|
+
remove(index)
|
|
3925
|
+
{
|
|
3926
|
+
return this.getJavaClass().removeAtSync(index);
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
/**
|
|
3930
|
+
* <p>
|
|
3931
|
+
* Tries to remove element with 3-letter id
|
|
3932
|
+
* </p>
|
|
3933
|
+
* @return true if successful, false if no such id
|
|
3934
|
+
* @param id 3-letter id
|
|
3935
|
+
*/
|
|
3936
|
+
remove(id)
|
|
3937
|
+
{
|
|
3938
|
+
return this.getJavaClass().removeAtSync(id);
|
|
3939
|
+
}
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* <p>
|
|
3943
|
+
* Inserts the specified DataElement at the given index.
|
|
3944
|
+
* If a DataElement with the same ElementID already exists, it will be replaced.
|
|
3945
|
+
* </p>
|
|
3946
|
+
* @return The DataElement that was inserted or used to replace an existing entry.
|
|
3947
|
+
* @param index The zero-based index at which the element should be inserted.
|
|
3948
|
+
* @param node The DataElement instance to insert or replace at the target position.
|
|
3949
|
+
*/
|
|
3950
|
+
insert(index, node)
|
|
3951
|
+
{
|
|
3952
|
+
return new DataElement(this.getJavaClass().insertSync(index, node.getJavaClass()));
|
|
3953
|
+
}
|
|
3954
|
+
|
|
3955
|
+
/**
|
|
3956
|
+
* <p>
|
|
3957
|
+
* Adds new DataElement or replaces it if ElementID already exists.
|
|
3958
|
+
* </p>
|
|
3959
|
+
* @return Added/replaced data element
|
|
3960
|
+
* @param node DataElement to add
|
|
3961
|
+
*/
|
|
3962
|
+
addOrReplaceNode(node)
|
|
3963
|
+
{
|
|
3964
|
+
return new DataElement(this.getJavaClass().addOrReplaceSync(node.getJavaClass()));
|
|
3965
|
+
}
|
|
3966
|
+
|
|
3967
|
+
/**
|
|
3968
|
+
* <p>
|
|
3969
|
+
* Adds a new DataElement with the specified identifier and value,
|
|
3970
|
+
* or replaces the existing element if an entry with the same ElementID is already present.
|
|
3971
|
+
* </p>
|
|
3972
|
+
* @return The DataElement instance that was added to the collection or updated in place.
|
|
3973
|
+
* @param id A 3-letter identifier that uniquely specifies the jurisdiction-related data element.
|
|
3974
|
+
* @param value The text value assigned to the data element; this value will overwrite the existing one if the element already exists.
|
|
3975
|
+
*/
|
|
3976
|
+
addOrReplace(id, value)
|
|
3977
|
+
{
|
|
3978
|
+
return new DataElement(this.getJavaClass().addOrReplaceSync(id, value));
|
|
3979
|
+
}
|
|
3980
|
+
}
|
|
3981
|
+
|
|
3982
|
+
/**
|
|
3983
|
+
* <p>
|
|
3984
|
+
* USA DL subfile properties, offset and length are set automatically.
|
|
3985
|
+
* </p>
|
|
3986
|
+
*/
|
|
3987
|
+
class SubfileProperties extends BaseJavaClass
|
|
3988
|
+
{
|
|
3989
|
+
static javaClassName = "com.aspose.mw.barcode.complexbarcode.MwUSADriveIdCodetext$MwSubfileProperties";
|
|
3990
|
+
|
|
3991
|
+
constructor(type)
|
|
3992
|
+
{
|
|
3993
|
+
let javaClass = java.import(SubfileProperties.javaClassName);
|
|
3994
|
+
super(new javaClass(type));
|
|
3995
|
+
}
|
|
3996
|
+
|
|
3997
|
+
static _internalCtor(nativeObject)
|
|
3998
|
+
{
|
|
3999
|
+
let javaClass = java.import(SubfileProperties.javaClassName);
|
|
4000
|
+
|
|
4001
|
+
let obj = new SubfileProperties("")
|
|
4002
|
+
obj.setJavaClass(nativeObject);
|
|
4003
|
+
|
|
4004
|
+
return obj;
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
init()
|
|
4008
|
+
{
|
|
4009
|
+
|
|
4010
|
+
}
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* <p>
|
|
4014
|
+
* 2 byte type of subfile, like "DL"
|
|
4015
|
+
* </p>
|
|
4016
|
+
*/
|
|
4017
|
+
getType()
|
|
4018
|
+
{
|
|
4019
|
+
return this.getJavaClass().getTypeSync();
|
|
4020
|
+
}
|
|
4021
|
+
/**
|
|
4022
|
+
* <p>
|
|
4023
|
+
* 2 byte type of subfile, like "DL"
|
|
4024
|
+
* </p>
|
|
4025
|
+
*/
|
|
4026
|
+
setType(value)
|
|
4027
|
+
{
|
|
4028
|
+
this.getJavaClass().setTypeSync(value);
|
|
4029
|
+
}
|
|
4030
|
+
/**
|
|
4031
|
+
* <p>
|
|
4032
|
+
* 4 digit numeric value that specifies
|
|
4033
|
+
* the number of bytes from the head or beginning of the file to where
|
|
4034
|
+
* the data related to the particular sub-file is located.The first byte in
|
|
4035
|
+
* the file is located at offset 0.
|
|
4036
|
+
* </p>
|
|
4037
|
+
*/
|
|
4038
|
+
getOffset()
|
|
4039
|
+
{
|
|
4040
|
+
return this.getJavaClass().getOffsetSync();
|
|
4041
|
+
}
|
|
4042
|
+
/**
|
|
4043
|
+
* <p>
|
|
4044
|
+
* 4 digit numeric value that specifies
|
|
4045
|
+
* the number of bytes from the head or beginning of the file to where
|
|
4046
|
+
* the data related to the particular sub-file is located.The first byte in
|
|
4047
|
+
* the file is located at offset 0.
|
|
4048
|
+
* </p>
|
|
4049
|
+
*/
|
|
4050
|
+
setOffset(value)
|
|
4051
|
+
{
|
|
4052
|
+
this.getJavaClass().setOffsetSync(value);
|
|
4053
|
+
}
|
|
4054
|
+
/**
|
|
4055
|
+
* <p>
|
|
4056
|
+
* 4 These bytes contain a 4 digit numeric value that specifies
|
|
4057
|
+
* the length of the Subfile in bytes.The segment terminator must be
|
|
4058
|
+
* included in calculating the length of the subfile.A segment terminator
|
|
4059
|
+
* = 1. Each subfile must begin with the two-character Subfile Type and
|
|
4060
|
+
* these two characters must also be included in the length.
|
|
4061
|
+
* </p>
|
|
4062
|
+
*/
|
|
4063
|
+
getLength()
|
|
4064
|
+
{
|
|
4065
|
+
return this.getJavaClass().getLengthSync();
|
|
4066
|
+
}
|
|
4067
|
+
/**
|
|
4068
|
+
* <p>
|
|
4069
|
+
* 4 These bytes contain a 4 digit numeric value that specifies
|
|
4070
|
+
* the length of the Subfile in bytes.The segment terminator must be
|
|
4071
|
+
* included in calculating the length of the subfile.A segment terminator
|
|
4072
|
+
* = 1. Each subfile must begin with the two-character Subfile Type and
|
|
4073
|
+
* these two characters must also be included in the length.
|
|
4074
|
+
* </p>
|
|
4075
|
+
*/
|
|
4076
|
+
setLength(value)
|
|
4077
|
+
{
|
|
4078
|
+
this.getJavaClass().setLengthSync(value);
|
|
4079
|
+
}
|
|
4080
|
+
}
|
|
4081
|
+
|
|
4082
|
+
/**
|
|
4083
|
+
* <p>
|
|
4084
|
+
* Class for encoding and decoding the text embedded in the USA Driving License PDF417 code.
|
|
4085
|
+
* </p>
|
|
4086
|
+
*/
|
|
4087
|
+
class USADriveIdCodetext extends IComplexCodetext
|
|
4088
|
+
{
|
|
4089
|
+
static javaClassName = "com.aspose.mw.barcode.complexbarcode.MwUSADriveIdCodetext";
|
|
4090
|
+
|
|
4091
|
+
constructor(usaDriveIdCodetext)
|
|
4092
|
+
{
|
|
4093
|
+
super(usaDriveIdCodetext != null ? usaDriveIdCodetext : new java.import(USADriveIdCodetext.javaClassName)());
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
init()
|
|
4097
|
+
{
|
|
4098
|
+
this.auto_JurisdictionSpecificSubfile = new USADriveIdJurisdSubfile(this.getJavaClass().getJurisdictionSpecificSubfileSync());
|
|
4099
|
+
this.auto_OptionalElements = new OptionalFields(this.getJavaClass().getOptionalElementsSync());
|
|
4100
|
+
this.auto_MandatoryElements = new MandatoryFields(this.getJavaClass().getMandatoryElementsSync());
|
|
4101
|
+
}
|
|
4102
|
+
/**
|
|
4103
|
+
* <p>
|
|
4104
|
+
* This number uniquely identifies
|
|
4105
|
+
* the issuing jurisdiction and can be obtained by contacting the ISO
|
|
4106
|
+
* Issuing Authority(AAMVA). The full 6-digit IIN should be encoded.
|
|
4107
|
+
* </p>
|
|
4108
|
+
*/
|
|
4109
|
+
getIssuerIdentificationNumber()
|
|
4110
|
+
{
|
|
4111
|
+
return this.getJavaClass().getIssuerIdentificationNumberSync();
|
|
4112
|
+
}
|
|
4113
|
+
/**
|
|
4114
|
+
* <p>
|
|
4115
|
+
* This number uniquely identifies
|
|
4116
|
+
* the issuing jurisdiction and can be obtained by contacting the ISO
|
|
4117
|
+
* Issuing Authority(AAMVA). The full 6-digit IIN should be encoded.
|
|
4118
|
+
* </p>
|
|
4119
|
+
*/
|
|
4120
|
+
setIssuerIdentificationNumber(value)
|
|
4121
|
+
{
|
|
4122
|
+
this.getJavaClass().setIssuerIdentificationNumberSync(value);
|
|
4123
|
+
}
|
|
4124
|
+
/**
|
|
4125
|
+
* <p>
|
|
4126
|
+
* AAMVA Version Number 00-99
|
|
4127
|
+
* </p>
|
|
4128
|
+
*/
|
|
4129
|
+
getAAMVAVersionNumber()
|
|
4130
|
+
{
|
|
4131
|
+
return this.getJavaClass().getAAMVAVersionNumberSync();
|
|
4132
|
+
}
|
|
4133
|
+
/**
|
|
4134
|
+
* <p>
|
|
4135
|
+
* AAMVA Version Number 00-99
|
|
4136
|
+
* </p>
|
|
4137
|
+
*/
|
|
4138
|
+
setAAMVAVersionNumber(value)
|
|
4139
|
+
{
|
|
4140
|
+
this.getJavaClass().setAAMVAVersionNumberSync(value);
|
|
4141
|
+
}
|
|
4142
|
+
/**
|
|
4143
|
+
* <p>
|
|
4144
|
+
* Jurisdiction Version Number 00-99
|
|
4145
|
+
* </p>
|
|
4146
|
+
*/
|
|
4147
|
+
getJurisdictionVersionNumber()
|
|
4148
|
+
{
|
|
4149
|
+
return this.getJavaClass().getJurisdictionVersionNumberSync();
|
|
4150
|
+
}
|
|
4151
|
+
/**
|
|
4152
|
+
* <p>
|
|
4153
|
+
* Jurisdiction Version Number 00-99
|
|
4154
|
+
* </p>
|
|
4155
|
+
*/
|
|
4156
|
+
setJurisdictionVersionNumber(value)
|
|
4157
|
+
{
|
|
4158
|
+
this.getJavaClass().setJurisdictionVersionNumberSync(value);
|
|
4159
|
+
}
|
|
4160
|
+
/**
|
|
4161
|
+
* <p>
|
|
4162
|
+
* Number 00-99 of subfiles
|
|
4163
|
+
* </p>
|
|
4164
|
+
*/
|
|
4165
|
+
getNumberOfEntries()
|
|
4166
|
+
{
|
|
4167
|
+
return this.getJavaClass().getNumberOfEntriesSync();
|
|
4168
|
+
}
|
|
4169
|
+
/**
|
|
4170
|
+
* <p>
|
|
4171
|
+
* Number 00-99 of subfiles
|
|
4172
|
+
* </p>
|
|
4173
|
+
*/
|
|
4174
|
+
setNumberOfEntries(value)
|
|
4175
|
+
{
|
|
4176
|
+
this.getJavaClass().setNumberOfEntriesSync(value);
|
|
4177
|
+
}
|
|
4178
|
+
/**
|
|
4179
|
+
* <p>
|
|
4180
|
+
* Contains information about following subfiles, types, offsets and lengths.
|
|
4181
|
+
* Important: set only type, offset and length will be set automatically.
|
|
4182
|
+
* </p>
|
|
4183
|
+
*/
|
|
4184
|
+
getSubfileDesignator()
|
|
4185
|
+
{
|
|
4186
|
+
const javaSubfileDesignatorList = this.getJavaClass().getSubfileDesignatorSync();
|
|
4187
|
+
|
|
4188
|
+
let subfileDesignator = [];8
|
|
4189
|
+
for(let i = 0; i < javaSubfileDesignatorList.sizeSync(); i++)
|
|
4190
|
+
{
|
|
4191
|
+
subfileDesignator.push(SubfileProperties._internalCtor(javaSubfileDesignatorList.getSync(i)));
|
|
4192
|
+
}
|
|
4193
|
+
|
|
4194
|
+
return subfileDesignator;
|
|
4195
|
+
}
|
|
4196
|
+
/**
|
|
4197
|
+
* <p>
|
|
4198
|
+
* Contains information about following subfiles, types, offsets and lengths.
|
|
4199
|
+
* Important: set only type, offset and length will be set automatically.
|
|
4200
|
+
* </p>
|
|
4201
|
+
*/
|
|
4202
|
+
addSubfileDesignator(value)
|
|
4203
|
+
{
|
|
4204
|
+
this.getJavaClass().addSubfileDesignatorSync(value.getJavaClass());
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* <p>
|
|
4209
|
+
* Contains information about following subfiles, types, offsets and lengths.
|
|
4210
|
+
* Important: set only type, offset and length will be set automatically.
|
|
4211
|
+
* </p>
|
|
4212
|
+
*/
|
|
4213
|
+
setSubfileDesignator(value)
|
|
4214
|
+
{
|
|
4215
|
+
const JavaArrayList = java.import("java.util.ArrayList");
|
|
4216
|
+
|
|
4217
|
+
let subfileDesignatorJava = new JavaArrayList();
|
|
4218
|
+
|
|
4219
|
+
for(let i = 0; i < value.length; i++)
|
|
4220
|
+
{
|
|
4221
|
+
subfileDesignatorJava.addSync(value[i].getJavaClass());
|
|
4222
|
+
}
|
|
4223
|
+
|
|
4224
|
+
this.getJavaClass().setSubfileDesignatorSync(subfileDesignatorJava);
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/**
|
|
4228
|
+
* <p>
|
|
4229
|
+
* Mandatory elements (fields) of the card
|
|
4230
|
+
* </p>
|
|
4231
|
+
*/
|
|
4232
|
+
getMandatoryElements()
|
|
4233
|
+
{
|
|
4234
|
+
return this.auto_MandatoryElements;
|
|
4235
|
+
}
|
|
4236
|
+
/**
|
|
4237
|
+
* <p>
|
|
4238
|
+
* Mandatory elements (fields) of the card
|
|
4239
|
+
* </p>
|
|
4240
|
+
*/
|
|
4241
|
+
setMandatoryElements(value)
|
|
4242
|
+
{
|
|
4243
|
+
this.auto_MandatoryElements = value;
|
|
4244
|
+
this.getJavaClass().setMandatoryElementsSync(value.getJavaClass());
|
|
4245
|
+
}
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
* <p>
|
|
4249
|
+
* Optional elements (fields) of the card
|
|
4250
|
+
* </p>
|
|
4251
|
+
*/
|
|
4252
|
+
getOptionalElements()
|
|
4253
|
+
{
|
|
4254
|
+
return this.auto_OptionalElements;
|
|
4255
|
+
}
|
|
4256
|
+
/**
|
|
4257
|
+
* <p>
|
|
4258
|
+
* Optional elements (fields) of the card
|
|
4259
|
+
* </p>
|
|
4260
|
+
*/
|
|
4261
|
+
setOptionalElements(value)
|
|
4262
|
+
{
|
|
4263
|
+
this.auto_OptionalElements = value;
|
|
4264
|
+
this.getJavaClass().setOptionalElementsSync(value.getJavaClass());
|
|
4265
|
+
}
|
|
4266
|
+
|
|
4267
|
+
/**
|
|
4268
|
+
* <p>
|
|
4269
|
+
* Jurisdiction Specific Fields
|
|
4270
|
+
* </p>
|
|
4271
|
+
*/
|
|
4272
|
+
getJurisdictionSpecificSubfile()
|
|
4273
|
+
{
|
|
4274
|
+
return this.auto_JurisdictionSpecificSubfile;
|
|
4275
|
+
}
|
|
4276
|
+
/**
|
|
4277
|
+
* <p>
|
|
4278
|
+
* Jurisdiction Specific Fields
|
|
4279
|
+
* </p>
|
|
4280
|
+
*/
|
|
4281
|
+
setJurisdictionSpecificSubfile(value)
|
|
4282
|
+
{
|
|
4283
|
+
this.auto_JurisdictionSpecificSubfile = value;
|
|
4284
|
+
this.getJavaClass().setJurisdictionSpecificSubfileSync(value.getJavaClass());
|
|
4285
|
+
}
|
|
4286
|
+
|
|
4287
|
+
/**
|
|
4288
|
+
* <p>
|
|
4289
|
+
* Construct codetext from USA DL data
|
|
4290
|
+
* </p>
|
|
4291
|
+
* @return Constructed codetext
|
|
4292
|
+
*/
|
|
4293
|
+
getConstructedCodetext()
|
|
4294
|
+
{
|
|
4295
|
+
return this.getJavaClass().getConstructedCodetextSync();
|
|
4296
|
+
}
|
|
4297
|
+
|
|
4298
|
+
/**
|
|
4299
|
+
* <p>
|
|
4300
|
+
* Initialize USA DL object from codetext
|
|
4301
|
+
* </p>
|
|
4302
|
+
* @param constructedCodetext Constructed codetext
|
|
4303
|
+
*/
|
|
4304
|
+
initFromString(constructedCodetext)
|
|
4305
|
+
{
|
|
4306
|
+
this.getJavaClass().initFromStringSync(constructedCodetext);
|
|
4307
|
+
this.init();
|
|
4308
|
+
}
|
|
4309
|
+
|
|
4310
|
+
/**
|
|
4311
|
+
* <p>
|
|
4312
|
+
* Returns barcode type of USA DL (Pdf417)
|
|
4313
|
+
* </p>
|
|
4314
|
+
* @return Barcode type (Pdf417)
|
|
4315
|
+
*/
|
|
4316
|
+
getBarcodeType()
|
|
4317
|
+
{
|
|
4318
|
+
return this.getJavaClass().getBarcodeTypeSync();
|
|
4319
|
+
}
|
|
4320
|
+
|
|
4321
|
+
saveToXml()
|
|
4322
|
+
{
|
|
4323
|
+
let buf = Buffer.from(this.getJavaClass().saveToXmlSync(), "base64");
|
|
4324
|
+
|
|
4325
|
+
let xml = buf.toString("utf8");
|
|
4326
|
+
if (xml.charCodeAt(0) === 0xfeff) xml = xml.slice(1);
|
|
4327
|
+
|
|
4328
|
+
return xml;
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* <p>
|
|
4336
|
+
* Mandatory elements (fields) of the card
|
|
4337
|
+
* </p>
|
|
4338
|
+
*/
|
|
4339
|
+
class MandatoryFields extends BaseJavaClass
|
|
4340
|
+
{
|
|
4341
|
+
constructor(nativeObject)
|
|
4342
|
+
{
|
|
4343
|
+
super(nativeObject);
|
|
4344
|
+
}
|
|
4345
|
+
// Mandatory elements in DL/ID subfiles
|
|
4346
|
+
// Types of data / field lengths are encoded as
|
|
4347
|
+
// (A = alpha A-Z, N = numeric 0-9, S = special, F = fixed length, V = variable length).
|
|
4348
|
+
// Use of padding for variable length fields is optional.
|
|
4349
|
+
/**
|
|
4350
|
+
* <p>
|
|
4351
|
+
* DCA, Jurisdiction-specific vehicle class / group code, DL, V6ANS
|
|
4352
|
+
* </p>
|
|
4353
|
+
*/
|
|
4354
|
+
|
|
4355
|
+
getVehicleClass()
|
|
4356
|
+
{
|
|
4357
|
+
return this.getJavaClass().getVehicleClassSync();
|
|
4358
|
+
}
|
|
4359
|
+
// Mandatory elements in DL/ID subfiles
|
|
4360
|
+
// Types of data / field lengths are encoded as
|
|
4361
|
+
// (A = alpha A-Z, N = numeric 0-9, S = special, F = fixed length, V = variable length).
|
|
4362
|
+
// Use of padding for variable length fields is optional.
|
|
4363
|
+
/**
|
|
4364
|
+
* <p>
|
|
4365
|
+
* DCA, Jurisdiction-specific vehicle class / group code, DL, V6ANS
|
|
4366
|
+
* </p>
|
|
4367
|
+
*/
|
|
4368
|
+
|
|
4369
|
+
setVehicleClass(value)
|
|
4370
|
+
{
|
|
4371
|
+
this.getJavaClass().setVehicleClassSync(value);
|
|
4372
|
+
}
|
|
4373
|
+
|
|
4374
|
+
/**
|
|
4375
|
+
* <p>
|
|
4376
|
+
* DCB, Jurisdiction-specific restrictions codes, DL, V12ANS
|
|
4377
|
+
* </p>
|
|
4378
|
+
*/
|
|
4379
|
+
getRestrictionCodes()
|
|
4380
|
+
{
|
|
4381
|
+
return this.getJavaClass().getRestrictionCodesSync();
|
|
4382
|
+
}
|
|
4383
|
+
/**
|
|
4384
|
+
* <p>
|
|
4385
|
+
* DCB, Jurisdiction-specific restrictions codes, DL, V12ANS
|
|
4386
|
+
* </p>
|
|
4387
|
+
*/
|
|
4388
|
+
setRestrictionCodes(value)
|
|
4389
|
+
{
|
|
4390
|
+
this.getJavaClass().setRestrictionCodesSync(value);
|
|
4391
|
+
}
|
|
4392
|
+
/**
|
|
4393
|
+
* <p>
|
|
4394
|
+
* DCD, Jurisdiction specific endorsement codes, DL, V5ANS
|
|
4395
|
+
* </p>
|
|
4396
|
+
*/
|
|
4397
|
+
getEndorsementCodes()
|
|
4398
|
+
{
|
|
4399
|
+
return this.getJavaClass().getEndorsementCodesSync();
|
|
4400
|
+
}
|
|
4401
|
+
/**
|
|
4402
|
+
* <p>
|
|
4403
|
+
* DCD, Jurisdiction specific endorsement codes, DL, V5ANS
|
|
4404
|
+
* </p>
|
|
4405
|
+
*/
|
|
4406
|
+
setEndorsementCodes(value)
|
|
4407
|
+
{
|
|
4408
|
+
this.getJavaClass().setEndorsementCodesSync(value);
|
|
4409
|
+
}
|
|
4410
|
+
|
|
4411
|
+
|
|
4412
|
+
/**
|
|
4413
|
+
* <p>
|
|
4414
|
+
* DCS, Family name of the cardholder, DL/ID, V40ANS
|
|
4415
|
+
* </p>
|
|
4416
|
+
*/
|
|
4417
|
+
getFamilyName()
|
|
4418
|
+
{
|
|
4419
|
+
return this.getJavaClass().getFamilyNameSync();
|
|
4420
|
+
}
|
|
4421
|
+
/**
|
|
4422
|
+
* <p>
|
|
4423
|
+
* DCS, Family name of the cardholder, DL/ID, V40ANS
|
|
4424
|
+
* </p>
|
|
4425
|
+
*/
|
|
4426
|
+
setFamilyName(value)
|
|
4427
|
+
{
|
|
4428
|
+
this.getJavaClass().setFamilyNameSync(value);
|
|
4429
|
+
}
|
|
4430
|
+
|
|
4431
|
+
/**
|
|
4432
|
+
* <p>
|
|
4433
|
+
* DAC, First name of the cardholder, DL/ID, V40ANS
|
|
4434
|
+
* </p>
|
|
4435
|
+
*/
|
|
4436
|
+
getFirstName()
|
|
4437
|
+
{
|
|
4438
|
+
return this.getJavaClass().getFirstNameSync();
|
|
4439
|
+
}
|
|
4440
|
+
/**
|
|
4441
|
+
* <p>
|
|
4442
|
+
* DAC, First name of the cardholder, DL/ID, V40ANS
|
|
4443
|
+
* </p>
|
|
4444
|
+
*/
|
|
4445
|
+
setFirstName(value)
|
|
4446
|
+
{
|
|
4447
|
+
this.getJavaClass().setFirstNameSync(value);
|
|
4448
|
+
}
|
|
4449
|
+
|
|
4450
|
+
/**
|
|
4451
|
+
* <p>
|
|
4452
|
+
* DAD, Middle name(s) of the cardholder. In the case of multiple middle names they shall be
|
|
4453
|
+
* separated by a comma ",". , DL/ID, V40ANS
|
|
4454
|
+
* </p>
|
|
4455
|
+
*/
|
|
4456
|
+
getMiddleName()
|
|
4457
|
+
{
|
|
4458
|
+
return this.getJavaClass().getMiddleNameSync();
|
|
4459
|
+
}
|
|
4460
|
+
/**
|
|
4461
|
+
* <p>
|
|
4462
|
+
* DAD, Middle name(s) of the cardholder. In the case of multiple middle names they shall be
|
|
4463
|
+
* separated by a comma ",". , DL/ID, V40ANS
|
|
4464
|
+
* </p>
|
|
4465
|
+
*/
|
|
4466
|
+
setMiddleName(value)
|
|
4467
|
+
{
|
|
4468
|
+
this.getJavaClass().setMiddleNameSync(value);
|
|
4469
|
+
}
|
|
4470
|
+
|
|
4471
|
+
/**
|
|
4472
|
+
* <p>
|
|
4473
|
+
* DBB, Date on which the document was issued, MMDDCCYY for U.S., CCYYMMDD for Canada, DL/ID, F8N
|
|
4474
|
+
* </p>
|
|
4475
|
+
*/
|
|
4476
|
+
getDateOfBirth()
|
|
4477
|
+
{
|
|
4478
|
+
return new Date(this.getJavaClass().getDateOfBirthSync());
|
|
4479
|
+
}
|
|
4480
|
+
/**
|
|
4481
|
+
* <p>
|
|
4482
|
+
* DBB, Date on which the document was issued, MMDDCCYY for U.S., CCYYMMDD for Canada, DL/ID, F8N
|
|
4483
|
+
* </p>
|
|
4484
|
+
*/
|
|
4485
|
+
setDateOfBirth(value)
|
|
4486
|
+
{
|
|
4487
|
+
this.getJavaClass().setDateOfBirthSync(value.toISOString().slice(0, 10));
|
|
4488
|
+
}
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* <p>
|
|
4492
|
+
* DBC, Gender of the cardholder. 1 = male, 2 = female, 9 = not specified, DL/ID, F1N
|
|
4493
|
+
* </p>
|
|
4494
|
+
*/
|
|
4495
|
+
getSex()
|
|
4496
|
+
{
|
|
4497
|
+
return this.getJavaClass().getSexSync();
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4500
|
+
/**
|
|
4501
|
+
* <p>
|
|
4502
|
+
* DBC, Gender of the cardholder. 1 = male, 2 = female, 9 = not specified, DL/ID, F1N
|
|
4503
|
+
* </p>
|
|
4504
|
+
*/
|
|
4505
|
+
setSex(value)
|
|
4506
|
+
{
|
|
4507
|
+
this.getJavaClass().setSexSync(value);
|
|
4508
|
+
}
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* <p>
|
|
4512
|
+
* DAY, Color of cardholder's eyes. (ANSI D-20 codes). DL/ID, F3A
|
|
4513
|
+
* </p>
|
|
4514
|
+
*/
|
|
4515
|
+
getEyeColor()
|
|
4516
|
+
{
|
|
4517
|
+
return this.getJavaClass().getEyeColorSync();
|
|
4518
|
+
}
|
|
4519
|
+
/**
|
|
4520
|
+
* <p>
|
|
4521
|
+
* DAY, Color of cardholder's eyes. (ANSI D-20 codes). DL/ID, F3A
|
|
4522
|
+
* </p>
|
|
4523
|
+
*/
|
|
4524
|
+
setEyeColor(value)
|
|
4525
|
+
{
|
|
4526
|
+
this.getJavaClass().setEyeColorSync(value);
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
/**
|
|
4530
|
+
* <p>
|
|
4531
|
+
* DAU, Height of cardholder.
|
|
4532
|
+
* Inches (in): number of inches followed by " in"
|
|
4533
|
+
* ex. 6'1'' = "073 in"
|
|
4534
|
+
* Centimeters(cm) : number of centimeters followed by " cm"
|
|
4535
|
+
* ex. 181 centimeters="181 cm" , DL/ID, F6ANS
|
|
4536
|
+
* </p>
|
|
4537
|
+
*/
|
|
4538
|
+
getHeight()
|
|
4539
|
+
{
|
|
4540
|
+
return this.getJavaClass().getHeightSync();
|
|
4541
|
+
}
|
|
4542
|
+
/**
|
|
4543
|
+
* <p>
|
|
4544
|
+
* DAU, Height of cardholder.
|
|
4545
|
+
* Inches (in): number of inches followed by " in"
|
|
4546
|
+
* ex. 6'1'' = "073 in"
|
|
4547
|
+
* Centimeters(cm) : number of centimeters followed by " cm"
|
|
4548
|
+
* ex. 181 centimeters="181 cm" , DL/ID, F6ANS
|
|
4549
|
+
* </p>
|
|
4550
|
+
*/
|
|
4551
|
+
setHeight(value)
|
|
4552
|
+
{
|
|
4553
|
+
this.getJavaClass().setHeightSync(value);
|
|
4554
|
+
}
|
|
4555
|
+
|
|
4556
|
+
/**
|
|
4557
|
+
* <p>
|
|
4558
|
+
* DAG, Street portion of the cardholder address, DL/ID, V35ANS
|
|
4559
|
+
* </p>
|
|
4560
|
+
*/
|
|
4561
|
+
getAddressStreet1()
|
|
4562
|
+
{
|
|
4563
|
+
return this.getJavaClass().getAddressStreet1Sync();
|
|
4564
|
+
}
|
|
4565
|
+
/**
|
|
4566
|
+
* <p>
|
|
4567
|
+
* DAG, Street portion of the cardholder address, DL/ID, V35ANS
|
|
4568
|
+
* </p>
|
|
4569
|
+
*/
|
|
4570
|
+
setAddressStreet1(value)
|
|
4571
|
+
{
|
|
4572
|
+
this.getJavaClass().setAddressStreet1Sync(value);
|
|
4573
|
+
}
|
|
4574
|
+
|
|
4575
|
+
/**
|
|
4576
|
+
* <p>
|
|
4577
|
+
* DAI, City portion of the cardholder address, DL/ID, V20ANS
|
|
4578
|
+
* </p>
|
|
4579
|
+
*/
|
|
4580
|
+
getAddressCity()
|
|
4581
|
+
{
|
|
4582
|
+
return this.getJavaClass().getAddressCitySync();
|
|
4583
|
+
}
|
|
4584
|
+
/**
|
|
4585
|
+
* <p>
|
|
4586
|
+
* DAI, City portion of the cardholder address, DL/ID, V20ANS
|
|
4587
|
+
* </p>
|
|
4588
|
+
*/
|
|
4589
|
+
setAddressCity(value)
|
|
4590
|
+
{
|
|
4591
|
+
this.getJavaClass().setAddressCitySync(value);
|
|
4592
|
+
}
|
|
4593
|
+
|
|
4594
|
+
/**
|
|
4595
|
+
* <p>
|
|
4596
|
+
* DAJ, State portion of the cardholder address, DL/ID, F2A
|
|
4597
|
+
* </p>
|
|
4598
|
+
*/
|
|
4599
|
+
getAddressState()
|
|
4600
|
+
{
|
|
4601
|
+
return this.getJavaClass().getAddressStateSync();
|
|
4602
|
+
}
|
|
4603
|
+
/**
|
|
4604
|
+
* <p>
|
|
4605
|
+
* DAJ, State portion of the cardholder address, DL/ID, F2A
|
|
4606
|
+
* </p>
|
|
4607
|
+
*/
|
|
4608
|
+
setAddressState(value)
|
|
4609
|
+
{
|
|
4610
|
+
this.getJavaClass().setAddressStateSync(value);
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
/**
|
|
4614
|
+
* <p>
|
|
4615
|
+
* DAK, Postal code portion of the cardholder address in the U.S.and Canada.
|
|
4616
|
+
* If the trailing portion of the postal code in the U.S. is not known,
|
|
4617
|
+
* zeros will be used to fill the trailing set of numbers up to 9 digits, DL/ID, F11ANS
|
|
4618
|
+
* </p>
|
|
4619
|
+
*/
|
|
4620
|
+
getAddressPostalCode()
|
|
4621
|
+
{
|
|
4622
|
+
return this.getJavaClass().getAddressPostalCodeSync();
|
|
4623
|
+
}
|
|
4624
|
+
/**
|
|
4625
|
+
* <p>
|
|
4626
|
+
* DAK, Postal code portion of the cardholder address in the U.S.and Canada.
|
|
4627
|
+
* If the trailing portion of the postal code in the U.S. is not known,
|
|
4628
|
+
* zeros will be used to fill the trailing set of numbers up to 9 digits, DL/ID, F11ANS
|
|
4629
|
+
* </p>
|
|
4630
|
+
*/
|
|
4631
|
+
setAddressPostalCode(value)
|
|
4632
|
+
{
|
|
4633
|
+
this.getJavaClass().setAddressPostalCodeSync(value);
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
/**
|
|
4637
|
+
* <p>
|
|
4638
|
+
* DAQ, The number assigned or calculated by the issuing authority, DL/ID, V25ANS
|
|
4639
|
+
* </p>
|
|
4640
|
+
*/
|
|
4641
|
+
getCustomerIDNumber()
|
|
4642
|
+
{
|
|
4643
|
+
return this.getJavaClass().getCustomerIDNumberSync();
|
|
4644
|
+
}
|
|
4645
|
+
/**
|
|
4646
|
+
* <p>
|
|
4647
|
+
* DAQ, The number assigned or calculated by the issuing authority, DL/ID, V25ANS
|
|
4648
|
+
* </p>
|
|
4649
|
+
*/
|
|
4650
|
+
setCustomerIDNumber(value)
|
|
4651
|
+
{
|
|
4652
|
+
this.getJavaClass().setCustomerIDNumberSync(value);
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
/**
|
|
4656
|
+
* <p>
|
|
4657
|
+
* DCF, Number must uniquely identify a particular document issued to that customer
|
|
4658
|
+
* from others that may have been issued in the past. This number may serve multiple
|
|
4659
|
+
* purposes of document discrimination, audit information number, and/or inventory control, DL/ID, V25ANS
|
|
4660
|
+
* </p>
|
|
4661
|
+
*/
|
|
4662
|
+
getDocumentDiscriminator()
|
|
4663
|
+
{
|
|
4664
|
+
return this.getJavaClass().getDocumentDiscriminatorSync();
|
|
4665
|
+
}
|
|
4666
|
+
/**
|
|
4667
|
+
* <p>
|
|
4668
|
+
* DCF, Number must uniquely identify a particular document issued to that customer
|
|
4669
|
+
* from others that may have been issued in the past. This number may serve multiple
|
|
4670
|
+
* purposes of document discrimination, audit information number, and/or inventory control, DL/ID, V25ANS
|
|
4671
|
+
* </p>
|
|
4672
|
+
*/
|
|
4673
|
+
setDocumentDiscriminator(value)
|
|
4674
|
+
{
|
|
4675
|
+
this.getJavaClass().setDocumentDiscriminatorSync(value);
|
|
4676
|
+
}
|
|
4677
|
+
|
|
4678
|
+
/**
|
|
4679
|
+
* <p>
|
|
4680
|
+
* DCG, Country in which DL/ID is issued. U.S. = USA, Canada = CAN, DL/ID, F3A
|
|
4681
|
+
* </p>
|
|
4682
|
+
*/
|
|
4683
|
+
getCountryIdentification()
|
|
4684
|
+
{
|
|
4685
|
+
return this.getJavaClass().getCountryIdentificationSync();
|
|
4686
|
+
}
|
|
4687
|
+
/**
|
|
4688
|
+
* <p>
|
|
4689
|
+
* DCG, Country in which DL/ID is issued. U.S. = USA, Canada = CAN, DL/ID, F3A
|
|
4690
|
+
* </p>
|
|
4691
|
+
*/
|
|
4692
|
+
setCountryIdentification(value)
|
|
4693
|
+
{
|
|
4694
|
+
this.getJavaClass().setCountryIdentificationSync(value);
|
|
4695
|
+
}
|
|
4696
|
+
|
|
4697
|
+
|
|
4698
|
+
/**
|
|
4699
|
+
* <p>
|
|
4700
|
+
* DDE, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4701
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4702
|
+
* </p>
|
|
4703
|
+
*/
|
|
4704
|
+
getFamilyNameTruncation()
|
|
4705
|
+
{
|
|
4706
|
+
return this.getJavaClass().getFamilyNameTruncationSync();
|
|
4707
|
+
}
|
|
4708
|
+
/**
|
|
4709
|
+
* <p>
|
|
4710
|
+
* DDE, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4711
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4712
|
+
* </p>
|
|
4713
|
+
*/
|
|
4714
|
+
setFamilyNameTruncation(value)
|
|
4715
|
+
{
|
|
4716
|
+
this.getJavaClass().setFamilyNameTruncationSync(value);
|
|
4717
|
+
}
|
|
4718
|
+
|
|
4719
|
+
/**
|
|
4720
|
+
* <p>
|
|
4721
|
+
* DDF, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4722
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4723
|
+
* </p>
|
|
4724
|
+
*/
|
|
4725
|
+
getFirstNameTruncation()
|
|
4726
|
+
{
|
|
4727
|
+
return this.getJavaClass().getFirstNameTruncationSync();
|
|
4728
|
+
}
|
|
4729
|
+
/**
|
|
4730
|
+
* <p>
|
|
4731
|
+
* DDF, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4732
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4733
|
+
* </p>
|
|
4734
|
+
*/
|
|
4735
|
+
setFirstNameTruncation(value)
|
|
4736
|
+
{
|
|
4737
|
+
this.getJavaClass().setFirstNameTruncationSync(value);
|
|
4738
|
+
}
|
|
4739
|
+
|
|
4740
|
+
/**
|
|
4741
|
+
* <p>
|
|
4742
|
+
* DDG, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4743
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4744
|
+
* </p>
|
|
4745
|
+
*/
|
|
4746
|
+
getMiddleNameTruncation()
|
|
4747
|
+
{
|
|
4748
|
+
return this.getJavaClass().getMiddleNameTruncation();
|
|
4749
|
+
}
|
|
4750
|
+
/**
|
|
4751
|
+
* <p>
|
|
4752
|
+
* DDG, A code that indicates whether a field has been truncated(T), has not been truncated(N),
|
|
4753
|
+
* or unknown whether truncated(U), DL/ID, F1A
|
|
4754
|
+
* </p>
|
|
4755
|
+
*/
|
|
4756
|
+
setMiddleNameTruncation(value)
|
|
4757
|
+
{
|
|
4758
|
+
this.getJavaClass().setMiddleNameTruncationSync(value);
|
|
4759
|
+
}
|
|
4760
|
+
|
|
4761
|
+
init()
|
|
4762
|
+
{
|
|
4763
|
+
|
|
4764
|
+
}
|
|
4765
|
+
}
|
|
4766
|
+
|
|
4767
|
+
/**
|
|
4768
|
+
* <p>
|
|
4769
|
+
* Represents a jurisdiction-specific data field used in documents,
|
|
4770
|
+
* for example ElementID = "ZVA" with Value = "01".
|
|
4771
|
+
* </p>
|
|
4772
|
+
*/
|
|
4773
|
+
class DataElement extends BaseJavaClass
|
|
4774
|
+
{
|
|
4775
|
+
constructor(nativeObject)
|
|
4776
|
+
{
|
|
4777
|
+
super(nativeObject);
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
init()
|
|
4781
|
+
{
|
|
4782
|
+
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4785
|
+
/**
|
|
4786
|
+
* <p>
|
|
4787
|
+
* A 3-character code that identifies the jurisdiction-specific field, e.g., "ZVA".
|
|
4788
|
+
* </p>
|
|
4789
|
+
*/
|
|
4790
|
+
getElementID()
|
|
4791
|
+
{
|
|
4792
|
+
return this.getJavaClass().getElementIDSync();
|
|
4793
|
+
}
|
|
4794
|
+
/**
|
|
4795
|
+
* <p>
|
|
4796
|
+
* A 3-character code that identifies the jurisdiction-specific field, e.g., "ZVA".
|
|
4797
|
+
* </p>
|
|
4798
|
+
*/
|
|
4799
|
+
setElementID(value)
|
|
4800
|
+
{
|
|
4801
|
+
this.getJavaClass().setElementIDSync(value);
|
|
4802
|
+
}
|
|
4803
|
+
/**
|
|
4804
|
+
* <p>
|
|
4805
|
+
* The text value associated with the field, typically defined by jurisdiction rules.
|
|
4806
|
+
* </p>
|
|
4807
|
+
*/
|
|
4808
|
+
getValue()
|
|
4809
|
+
{
|
|
4810
|
+
return this.getJavaClass().getValueSync();
|
|
4811
|
+
}
|
|
4812
|
+
/**
|
|
4813
|
+
* <p>
|
|
4814
|
+
* The text value associated with the field, typically defined by jurisdiction rules.
|
|
4815
|
+
* </p>
|
|
4816
|
+
*/
|
|
4817
|
+
setValue(value)
|
|
4818
|
+
{
|
|
4819
|
+
this.getJavaClass().setValueSync(value);
|
|
4820
|
+
}
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
|
|
4824
|
+
|
|
4825
|
+
/**
|
|
4826
|
+
* <p>
|
|
4827
|
+
* Optional elements (fields) of the card
|
|
4828
|
+
* </p>
|
|
4829
|
+
*/
|
|
4830
|
+
class OptionalFields extends BaseJavaClass
|
|
4831
|
+
{
|
|
4832
|
+
|
|
4833
|
+
constructor(nativeObject)
|
|
4834
|
+
{
|
|
4835
|
+
super(nativeObject);
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
init()
|
|
4839
|
+
{
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4842
|
+
getAddressStreet2()
|
|
4843
|
+
{
|
|
4844
|
+
return this.getJavaClass().getAddressStreet2Sync();
|
|
4845
|
+
}
|
|
4846
|
+
// Optional elements in DL/ID subfiles
|
|
4847
|
+
// Rules are same as for mandatory elements
|
|
4848
|
+
/**
|
|
4849
|
+
* <p>
|
|
4850
|
+
* DAH, Second line of street portion of the cardholder address, DL/ID, V35ANS
|
|
4851
|
+
* </p>
|
|
4852
|
+
*/
|
|
4853
|
+
|
|
4854
|
+
setAddressStreet2(value)
|
|
4855
|
+
{
|
|
4856
|
+
this.getJavaClass().setAddressStreet2Sync(value);
|
|
4857
|
+
}
|
|
4858
|
+
|
|
4859
|
+
/**
|
|
4860
|
+
* <p>
|
|
4861
|
+
* DAZ, Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing
|
|
4862
|
+
* jurisdiction wishes to abbreviate colors, the three-character codes provided in AAMVA D20
|
|
4863
|
+
* must be used, DL/ID, V12A
|
|
4864
|
+
* </p>
|
|
4865
|
+
*/
|
|
4866
|
+
getHairColor()
|
|
4867
|
+
{
|
|
4868
|
+
return this.getJavaClass().getHairColorSync();
|
|
4869
|
+
}
|
|
4870
|
+
/**
|
|
4871
|
+
* <p>
|
|
4872
|
+
* DAZ, Bald, black, blonde, brown, gray, red/auburn, sandy, white, unknown. If the issuing
|
|
4873
|
+
* jurisdiction wishes to abbreviate colors, the three-character codes provided in AAMVA D20
|
|
4874
|
+
* must be used, DL/ID, V12A
|
|
4875
|
+
* </p>
|
|
4876
|
+
*/
|
|
4877
|
+
setHairColor(value)
|
|
4878
|
+
{
|
|
4879
|
+
this.getJavaClass().setHairColorSync(value);
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
/**
|
|
4883
|
+
* <p>
|
|
4884
|
+
* DCI, Country and municipality and/or state/province, DL/ID, V33A
|
|
4885
|
+
* </p>
|
|
4886
|
+
*/
|
|
4887
|
+
getPlaceOfBirth()
|
|
4888
|
+
{
|
|
4889
|
+
return this.getJavaClass().getPlaceOfBirthSync();
|
|
4890
|
+
}
|
|
4891
|
+
/**
|
|
4892
|
+
* <p>
|
|
4893
|
+
* DCI, Country and municipality and/or state/province, DL/ID, V33A
|
|
4894
|
+
* </p>
|
|
4895
|
+
*/
|
|
4896
|
+
setPlaceOfBirth(value)
|
|
4897
|
+
{
|
|
4898
|
+
this.getJavaClass().setPlaceOfBirthSync(value);
|
|
4899
|
+
}
|
|
4900
|
+
/**
|
|
4901
|
+
* <p>
|
|
4902
|
+
* DCJ, A string of letters and/or numbers that identifies when, where, and by whom
|
|
4903
|
+
* a driver license/ID card was made. If audit information is not used on the card or the MRT,
|
|
4904
|
+
* it must be included in the driver record, DL/ID, V25ANS
|
|
4905
|
+
* </p>
|
|
4906
|
+
*/
|
|
4907
|
+
getAuditInformation()
|
|
4908
|
+
{
|
|
4909
|
+
return this.getJavaClass().getAuditInformationSync();
|
|
4910
|
+
}
|
|
4911
|
+
/**
|
|
4912
|
+
* <p>
|
|
4913
|
+
* DCJ, A string of letters and/or numbers that identifies when, where, and by whom
|
|
4914
|
+
* a driver license/ID card was made. If audit information is not used on the card or the MRT,
|
|
4915
|
+
* it must be included in the driver record, DL/ID, V25ANS
|
|
4916
|
+
* </p>
|
|
4917
|
+
*/
|
|
4918
|
+
setAuditInformation(value)
|
|
4919
|
+
{
|
|
4920
|
+
this.getJavaClass().setAuditInformationSync(value);
|
|
4921
|
+
}
|
|
4922
|
+
/**
|
|
4923
|
+
* <p>
|
|
4924
|
+
* DCK, A string of letters and/or numbers that is affixed to the raw materials(card stock, laminate, etc.)
|
|
4925
|
+
* used in producing driver licenses and ID cards. (DHS recommended field), DL/ID, V25ANS
|
|
4926
|
+
* </p>
|
|
4927
|
+
*/
|
|
4928
|
+
getInventoryControlNumber()
|
|
4929
|
+
{
|
|
4930
|
+
return this.getJavaClass().getInventoryControlNumberSync();
|
|
4931
|
+
}
|
|
4932
|
+
/**
|
|
4933
|
+
* <p>
|
|
4934
|
+
* DCK, A string of letters and/or numbers that is affixed to the raw materials(card stock, laminate, etc.)
|
|
4935
|
+
* used in producing driver licenses and ID cards. (DHS recommended field), DL/ID, V25ANS
|
|
4936
|
+
* </p>
|
|
4937
|
+
*/
|
|
4938
|
+
setInventoryControlNumber(value)
|
|
4939
|
+
{
|
|
4940
|
+
this.getJavaClass().setInventoryControlNumberSync(value);
|
|
4941
|
+
}
|
|
4942
|
+
/**
|
|
4943
|
+
* <p>
|
|
4944
|
+
* DBN, Other family name by which cardholder is known, DL/ID, V10ANS
|
|
4945
|
+
* </p>
|
|
4946
|
+
*/
|
|
4947
|
+
getAliasAKAFamilyName()
|
|
4948
|
+
{
|
|
4949
|
+
return this.getJavaClass().getAliasAKAFamilyNameSync();
|
|
4950
|
+
}
|
|
4951
|
+
/**
|
|
4952
|
+
* <p>
|
|
4953
|
+
* DBN, Other family name by which cardholder is known, DL/ID, V10ANS
|
|
4954
|
+
* </p>
|
|
4955
|
+
*/
|
|
4956
|
+
setAliasAKAFamilyName(value)
|
|
4957
|
+
{
|
|
4958
|
+
this.getJavaClass().setAliasAKAFamilyNameSync(value);
|
|
4959
|
+
}
|
|
4960
|
+
/**
|
|
4961
|
+
* <p>
|
|
4962
|
+
* DBG, Other given name by which cardholder is known, DL/ID, V15ANS
|
|
4963
|
+
* </p>
|
|
4964
|
+
*/
|
|
4965
|
+
getAliasAKAGivenName()
|
|
4966
|
+
{
|
|
4967
|
+
return this.getJavaClass().getAliasAKAGivenNameSync();
|
|
4968
|
+
}
|
|
4969
|
+
/**
|
|
4970
|
+
* <p>
|
|
4971
|
+
* DBG, Other given name by which cardholder is known, DL/ID, V15ANS
|
|
4972
|
+
* </p>
|
|
4973
|
+
*/
|
|
4974
|
+
setAliasAKAGivenName(value)
|
|
4975
|
+
{
|
|
4976
|
+
this.getJavaClass().setAliasAKAGivenNameSync(value);
|
|
4977
|
+
}
|
|
4978
|
+
/**
|
|
4979
|
+
* <p>
|
|
4980
|
+
* DBS, Other suffix by which cardholder is known, DL/ID, V5ANS
|
|
4981
|
+
* </p>
|
|
4982
|
+
*/
|
|
4983
|
+
getAliasAKASuffixName()
|
|
4984
|
+
{
|
|
4985
|
+
return this.getJavaClass().getAliasAKASuffixNameSync();
|
|
4986
|
+
}
|
|
4987
|
+
/**
|
|
4988
|
+
* <p>
|
|
4989
|
+
* DBS, Other suffix by which cardholder is known, DL/ID, V5ANS
|
|
4990
|
+
* </p>
|
|
4991
|
+
*/
|
|
4992
|
+
setAliasAKASuffixName(value)
|
|
4993
|
+
{
|
|
4994
|
+
this.getJavaClass().setAliasAKASuffixNameSync(value);
|
|
4995
|
+
}
|
|
4996
|
+
/**
|
|
4997
|
+
* <p>
|
|
4998
|
+
* DCU, Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.),
|
|
4999
|
+
* the suffix must be collected and displayed on the DL/ID and in the MRT).
|
|
5000
|
+
* JR(Junior), SR(Senior), 1ST or I(First), up to 9TH or IX (Ninth), DL/ID, V5ANS
|
|
5001
|
+
* </p>
|
|
5002
|
+
*/
|
|
5003
|
+
getNameSuffix()
|
|
5004
|
+
{
|
|
5005
|
+
return this.getJavaClass().getNameSuffixSync();
|
|
5006
|
+
}
|
|
5007
|
+
/**
|
|
5008
|
+
* <p>
|
|
5009
|
+
* DCU, Name Suffix (If jurisdiction participates in systems requiring name suffix (PDPS, CDLIS, etc.),
|
|
5010
|
+
* the suffix must be collected and displayed on the DL/ID and in the MRT).
|
|
5011
|
+
* JR(Junior), SR(Senior), 1ST or I(First), up to 9TH or IX (Ninth), DL/ID, V5ANS
|
|
5012
|
+
* </p>
|
|
5013
|
+
*/
|
|
5014
|
+
setNameSuffix(value)
|
|
5015
|
+
{
|
|
5016
|
+
this.getJavaClass().setNameSuffixSync(value);
|
|
5017
|
+
}
|
|
5018
|
+
/**
|
|
5019
|
+
* <p>
|
|
5020
|
+
* DCE, Indicates the approximate weight range of the cardholder: 0 = up to 31 kg(up to 70 lbs),
|
|
5021
|
+
* 1 = 32 – 45 kg(71 – 100 lbs), 2 = 46 - 59 kg(101 – 130 lbs), 3 = 60 - 70 kg(131 – 160 lbs),
|
|
5022
|
+
* 4 = 71 - 86 kg(161 – 190 lbs), 5 = 87 - 100 kg(191 – 220 lbs), 6 = 101 - 113 kg(221 – 250 lbs),
|
|
5023
|
+
* 7 = 114 - 127 kg(251 – 280 lbs), 8 = 128 – 145 kg(281 – 320 lbs), 9 = 146+ kg(321+ lbs), DL/ID, F1N
|
|
5024
|
+
* </p>
|
|
5025
|
+
*/
|
|
5026
|
+
getWeightRange()
|
|
5027
|
+
{
|
|
5028
|
+
return this.getJavaClass().getWeightRangeSync();
|
|
5029
|
+
}
|
|
5030
|
+
/**
|
|
5031
|
+
* <p>
|
|
5032
|
+
* DCE, Indicates the approximate weight range of the cardholder: 0 = up to 31 kg(up to 70 lbs),
|
|
5033
|
+
* 1 = 32 – 45 kg(71 – 100 lbs), 2 = 46 - 59 kg(101 – 130 lbs), 3 = 60 - 70 kg(131 – 160 lbs),
|
|
5034
|
+
* 4 = 71 - 86 kg(161 – 190 lbs), 5 = 87 - 100 kg(191 – 220 lbs), 6 = 101 - 113 kg(221 – 250 lbs),
|
|
5035
|
+
* 7 = 114 - 127 kg(251 – 280 lbs), 8 = 128 – 145 kg(281 – 320 lbs), 9 = 146+ kg(321+ lbs), DL/ID, F1N
|
|
5036
|
+
* </p>
|
|
5037
|
+
*/
|
|
5038
|
+
setWeightRange(value)
|
|
5039
|
+
{
|
|
5040
|
+
this.getJavaClass().setWeightRangeSync(value);
|
|
5041
|
+
}
|
|
5042
|
+
/**
|
|
5043
|
+
* <p>
|
|
5044
|
+
* DCL, Codes for race or ethnicity of the cardholder, as defined in AAMVA D20, DL/ID, V3A
|
|
5045
|
+
* </p>
|
|
5046
|
+
*/
|
|
5047
|
+
getRaceEthnicity()
|
|
5048
|
+
{
|
|
5049
|
+
return this.getJavaClass().getRaceEthnicitySync();
|
|
5050
|
+
}
|
|
5051
|
+
/**
|
|
5052
|
+
* <p>
|
|
5053
|
+
* DCL, Codes for race or ethnicity of the cardholder, as defined in AAMVA D20, DL/ID, V3A
|
|
5054
|
+
* </p>
|
|
5055
|
+
*/
|
|
5056
|
+
setRaceEthnicity(value)
|
|
5057
|
+
{
|
|
5058
|
+
this.getJavaClass().setRaceEthnicitySync(value);
|
|
5059
|
+
}
|
|
5060
|
+
/**
|
|
5061
|
+
* <p>
|
|
5062
|
+
* DCM, Standard vehicle classification code(s) for cardholder. This data element is a placeholder for
|
|
5063
|
+
* future efforts to standardize vehicle classifications, DL, F4AN
|
|
5064
|
+
* </p>
|
|
5065
|
+
*/
|
|
5066
|
+
getStandardVehClassification()
|
|
5067
|
+
{
|
|
5068
|
+
return this.getJavaClass().getStandardVehClassificationSync();
|
|
5069
|
+
}
|
|
5070
|
+
/**
|
|
5071
|
+
* <p>
|
|
5072
|
+
* DCM, Standard vehicle classification code(s) for cardholder. This data element is a placeholder for
|
|
5073
|
+
* future efforts to standardize vehicle classifications, DL, F4AN
|
|
5074
|
+
* </p>
|
|
5075
|
+
*/
|
|
5076
|
+
setStandardVehClassification(value)
|
|
5077
|
+
{
|
|
5078
|
+
this.getJavaClass().setStandardVehClassificationSync(value);
|
|
5079
|
+
}
|
|
5080
|
+
/**
|
|
5081
|
+
* <p>
|
|
5082
|
+
* DCN, Standard endorsement code(s) for cardholder. See codes in D20.This data element is a placeholder
|
|
5083
|
+
* for future efforts to standardize endorsement codes, DL, F5AN
|
|
5084
|
+
* </p>
|
|
5085
|
+
*/
|
|
5086
|
+
getStandardEndorsementCode()
|
|
5087
|
+
{
|
|
5088
|
+
return this.getJavaClass().getStandardEndorsementCodeSync();
|
|
5089
|
+
}
|
|
5090
|
+
/**
|
|
5091
|
+
* <p>
|
|
5092
|
+
* DCN, Standard endorsement code(s) for cardholder. See codes in D20.This data element is a placeholder
|
|
5093
|
+
* for future efforts to standardize endorsement codes, DL, F5AN
|
|
5094
|
+
* </p>
|
|
5095
|
+
*/
|
|
5096
|
+
setStandardEndorsementCode(value)
|
|
5097
|
+
{
|
|
5098
|
+
this.getJavaClass().setStandardEndorsementCodeSync(value);
|
|
5099
|
+
}
|
|
5100
|
+
/**
|
|
5101
|
+
* <p>
|
|
5102
|
+
* DCO, Standard restriction code(s) for cardholder. See codes in D20.This data element is a placeholder
|
|
5103
|
+
* for future efforts to standardize restriction codes, DL, F12AN
|
|
5104
|
+
* </p>
|
|
5105
|
+
*/
|
|
5106
|
+
getStandardRestrictionCode()
|
|
5107
|
+
{
|
|
5108
|
+
return this.getJavaClass().getStandardRestrictionCodeSync();
|
|
5109
|
+
}
|
|
5110
|
+
/**
|
|
5111
|
+
* <p>
|
|
5112
|
+
* DCO, Standard restriction code(s) for cardholder. See codes in D20.This data element is a placeholder
|
|
5113
|
+
* for future efforts to standardize restriction codes, DL, F12AN
|
|
5114
|
+
* </p>
|
|
5115
|
+
*/
|
|
5116
|
+
setStandardRestrictionCode(value)
|
|
5117
|
+
{
|
|
5118
|
+
this.getJavaClass().setStandardRestrictionCodeSync(value);
|
|
5119
|
+
}
|
|
5120
|
+
/**
|
|
5121
|
+
* <p>
|
|
5122
|
+
* DCP, Text that explains the jurisdiction-specific code(s) for classifications of vehicles
|
|
5123
|
+
* cardholder is authorized to drive, DL, V50ANS
|
|
5124
|
+
* </p>
|
|
5125
|
+
*/
|
|
5126
|
+
getVehClassDescription()
|
|
5127
|
+
{
|
|
5128
|
+
return this.getJavaClass().getVehClassDescriptionSync();
|
|
5129
|
+
}
|
|
5130
|
+
/**
|
|
5131
|
+
* <p>
|
|
5132
|
+
* DCP, Text that explains the jurisdiction-specific code(s) for classifications of vehicles
|
|
5133
|
+
* cardholder is authorized to drive, DL, V50ANS
|
|
5134
|
+
* </p>
|
|
5135
|
+
*/
|
|
5136
|
+
setVehClassDescription(value)
|
|
5137
|
+
{
|
|
5138
|
+
this.getJavaClass().setVehClassDescriptionSync(value);
|
|
5139
|
+
}
|
|
5140
|
+
/**
|
|
5141
|
+
* <p>
|
|
5142
|
+
* DCQ, Text that explains the jurisdiction-specific code(s) that indicates additional driving
|
|
5143
|
+
* privileges granted to the cardholder beyond the vehicle class, DL, V50ANS
|
|
5144
|
+
* </p>
|
|
5145
|
+
*/
|
|
5146
|
+
getEndorsementCodeDescription()
|
|
5147
|
+
{
|
|
5148
|
+
return this.getJavaClass().getEndorsementCodeDescriptionSync();
|
|
5149
|
+
}
|
|
5150
|
+
/**
|
|
5151
|
+
* <p>
|
|
5152
|
+
* DCQ, Text that explains the jurisdiction-specific code(s) that indicates additional driving
|
|
5153
|
+
* privileges granted to the cardholder beyond the vehicle class, DL, V50ANS
|
|
5154
|
+
* </p>
|
|
5155
|
+
*/
|
|
5156
|
+
setEndorsementCodeDescription(value)
|
|
5157
|
+
{
|
|
5158
|
+
this.getJavaClass().setEndorsementCodeDescriptionSync(value);
|
|
5159
|
+
}
|
|
5160
|
+
/**
|
|
5161
|
+
* <p>
|
|
5162
|
+
* DCR, Text describing the jurisdiction-specific
|
|
5163
|
+
* restriction code(s) that curtail driving privileges, DL, V50ANS
|
|
5164
|
+
* </p>
|
|
5165
|
+
*/
|
|
5166
|
+
getRestrictionCodeDescription()
|
|
5167
|
+
{
|
|
5168
|
+
return this.getJavaClass().getRestrictionCodeDescriptionSync();
|
|
5169
|
+
}
|
|
5170
|
+
|
|
5171
|
+
/**
|
|
5172
|
+
* <p>
|
|
5173
|
+
* DCR, Text describing the jurisdiction-specific
|
|
5174
|
+
* restriction code(s) that curtail driving privileges, DL, V50ANS
|
|
5175
|
+
* </p>
|
|
5176
|
+
*/
|
|
5177
|
+
setRestrictionCodeDescription(value)
|
|
5178
|
+
{
|
|
5179
|
+
this.getJavaClass().setRestrictionCodeDescriptionSync(value);
|
|
5180
|
+
}
|
|
5181
|
+
/**
|
|
5182
|
+
* <p>
|
|
5183
|
+
* DDA, DHS required field that indicates compliance:
|
|
5184
|
+
* “F” = compliant; and, “N” = non-compliant, DL/ID, F1A
|
|
5185
|
+
* </p>
|
|
5186
|
+
*/
|
|
5187
|
+
getComplianceType()
|
|
5188
|
+
{
|
|
5189
|
+
return this.getJavaClass().getComplianceTypeSync();
|
|
5190
|
+
}
|
|
5191
|
+
/**
|
|
5192
|
+
* <p>
|
|
5193
|
+
* DDA, DHS required field that indicates compliance:
|
|
5194
|
+
* “F” = compliant; and, “N” = non-compliant, DL/ID, F1A
|
|
5195
|
+
* </p>
|
|
5196
|
+
*/
|
|
5197
|
+
setComplianceType(value)
|
|
5198
|
+
{
|
|
5199
|
+
this.getJavaClass().setComplianceTypeSync(value);
|
|
5200
|
+
}
|
|
5201
|
+
/**
|
|
5202
|
+
* <p>
|
|
5203
|
+
* DDB, DHS required field that indicates date of the most recent version change or modification
|
|
5204
|
+
* to the visible format of the DL/ID. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5205
|
+
* </p>
|
|
5206
|
+
*/
|
|
5207
|
+
getCardRevisionDate()
|
|
5208
|
+
{
|
|
5209
|
+
return new Date(this.getJavaClass().getCardRevisionDateSync());
|
|
5210
|
+
}
|
|
5211
|
+
/**
|
|
5212
|
+
* <p>
|
|
5213
|
+
* DDB, DHS required field that indicates date of the most recent version change or modification
|
|
5214
|
+
* to the visible format of the DL/ID. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5215
|
+
* </p>
|
|
5216
|
+
*/
|
|
5217
|
+
setCardRevisionDate(value)
|
|
5218
|
+
{
|
|
5219
|
+
this.getJavaClass().setCardRevisionDate(value);
|
|
5220
|
+
}
|
|
5221
|
+
/**
|
|
5222
|
+
* <p>
|
|
5223
|
+
* DDC, Date on which the hazardous material endorsement granted by the document
|
|
5224
|
+
* is no longer valid. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL, F8N
|
|
5225
|
+
* </p>
|
|
5226
|
+
*/
|
|
5227
|
+
getHAZMATEndorsementExpDate()
|
|
5228
|
+
{
|
|
5229
|
+
return this.getJavaClass().getHAZMATEndorsementExpDate();
|
|
5230
|
+
}
|
|
5231
|
+
/**
|
|
5232
|
+
* <p>
|
|
5233
|
+
* DDD, DHS required field that indicates that the cardholder has
|
|
5234
|
+
* temporary lawful status = “1”, DL/ID, F1N
|
|
5235
|
+
* </p>
|
|
5236
|
+
*/
|
|
5237
|
+
getLimitedDurationDocIndicator()
|
|
5238
|
+
{
|
|
5239
|
+
return this.getJavaClass().getLimitedDurationDocIndicatorSync();
|
|
5240
|
+
}
|
|
5241
|
+
/**
|
|
5242
|
+
* <p>
|
|
5243
|
+
* DDD, DHS required field that indicates that the cardholder has
|
|
5244
|
+
* temporary lawful status = “1”, DL/ID, F1N
|
|
5245
|
+
* </p>
|
|
5246
|
+
*/
|
|
5247
|
+
setLimitedDurationDocIndicator(value)
|
|
5248
|
+
{
|
|
5249
|
+
this.getJavaClass().setLimitedDurationDocIndicatorSync(value);
|
|
5250
|
+
}
|
|
5251
|
+
/**
|
|
5252
|
+
* <p>
|
|
5253
|
+
* DAW, Cardholder weight in pounds, Ex. 185 lb = “185”, DL/ID, F3N
|
|
5254
|
+
* </p>
|
|
5255
|
+
*/
|
|
5256
|
+
getWeightPounds()
|
|
5257
|
+
{
|
|
5258
|
+
return this.getJavaClass().getWeightPoundsSync();
|
|
5259
|
+
}
|
|
5260
|
+
/**
|
|
5261
|
+
* <p>
|
|
5262
|
+
* DAW, Cardholder weight in pounds, Ex. 185 lb = “185”, DL/ID, F3N
|
|
5263
|
+
* </p>
|
|
5264
|
+
*/
|
|
5265
|
+
setWeightPounds(value)
|
|
5266
|
+
{
|
|
5267
|
+
this.getJavaClass().setWeightPoundsSync(value);
|
|
5268
|
+
}
|
|
5269
|
+
/**
|
|
5270
|
+
* <p>
|
|
5271
|
+
* DAX, Cardholder weight in kilograms, Ex. 84 kg = “084”, DL/ID, F3N
|
|
5272
|
+
* </p>
|
|
5273
|
+
*/
|
|
5274
|
+
getWeightKilograms()
|
|
5275
|
+
{
|
|
5276
|
+
return this.getJavaClass().getWeightKilogramsSync();
|
|
5277
|
+
}
|
|
5278
|
+
/**
|
|
5279
|
+
* <p>
|
|
5280
|
+
* DAX, Cardholder weight in kilograms, Ex. 84 kg = “084”, DL/ID, F3N
|
|
5281
|
+
* </p>
|
|
5282
|
+
*/
|
|
5283
|
+
setWeightKilograms(value)
|
|
5284
|
+
{
|
|
5285
|
+
this.getJavaClass().setWeightKilogramsSync(value);
|
|
5286
|
+
}
|
|
5287
|
+
|
|
5288
|
+
/**
|
|
5289
|
+
* <p>
|
|
5290
|
+
* DDI, Date on which the cardholder turns 19 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5291
|
+
* </p>
|
|
5292
|
+
*/
|
|
5293
|
+
setUnder18Until(value)
|
|
5294
|
+
{
|
|
5295
|
+
this.getJavaClass().setUnder18UntilSync(value);
|
|
5296
|
+
}
|
|
5297
|
+
|
|
5298
|
+
/**
|
|
5299
|
+
* <p>
|
|
5300
|
+
* DDH, Date on which the cardholder turns 18 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5301
|
+
* </p>
|
|
5302
|
+
*/
|
|
5303
|
+
getUnder18Until()
|
|
5304
|
+
{
|
|
5305
|
+
return this.getJavaClass().getUnder18UntilSync();
|
|
5306
|
+
}
|
|
5307
|
+
|
|
5308
|
+
/**
|
|
5309
|
+
* <p>
|
|
5310
|
+
* DDI, Date on which the cardholder turns 19 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5311
|
+
* </p>
|
|
5312
|
+
*/
|
|
5313
|
+
setUnder19Until(value)
|
|
5314
|
+
{
|
|
5315
|
+
this.getJavaClass().setUnder19UntilSync(value);
|
|
5316
|
+
}
|
|
5317
|
+
/**
|
|
5318
|
+
* <p>
|
|
5319
|
+
* DDJ, Date on which the cardholder turns 21 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5320
|
+
* </p>
|
|
5321
|
+
*/
|
|
5322
|
+
getUnder21Until()
|
|
5323
|
+
{
|
|
5324
|
+
return this.getJavaClass().getUnder21UntilSync();
|
|
5325
|
+
}
|
|
5326
|
+
/**
|
|
5327
|
+
* <p>
|
|
5328
|
+
* DDJ, Date on which the cardholder turns 21 years old. (MMDDCCYY for U.S., CCYYMMDD for Canada), DL/ID, F8N
|
|
5329
|
+
* </p>
|
|
5330
|
+
*/
|
|
5331
|
+
setUnder21Until(value)
|
|
5332
|
+
{
|
|
5333
|
+
this.getJavaClass().setUnder21UntilSync(value);
|
|
5334
|
+
}
|
|
5335
|
+
/**
|
|
5336
|
+
* <p>
|
|
5337
|
+
* DDK, Field that indicates that the cardholder is an organ donor = “1”, DL/ID, F1N
|
|
5338
|
+
* </p>
|
|
5339
|
+
*/
|
|
5340
|
+
getOrganDonorIndicator()
|
|
5341
|
+
{
|
|
5342
|
+
return this.getJavaClass().getOrganDonorIndicatorSync();
|
|
5343
|
+
}
|
|
5344
|
+
/**
|
|
5345
|
+
* <p>
|
|
5346
|
+
* DDK, Field that indicates that the cardholder is an organ donor = “1”, DL/ID, F1N
|
|
5347
|
+
* </p>
|
|
5348
|
+
*/
|
|
5349
|
+
setOrganDonorIndicator(value)
|
|
5350
|
+
{
|
|
5351
|
+
this.getJavaClass().setOrganDonorIndicatorSync(value);
|
|
5352
|
+
}
|
|
5353
|
+
/**
|
|
5354
|
+
* <p>
|
|
5355
|
+
* DDL, Field that indicates that the cardholder is a veteran = “1”, DL/ID, F1N
|
|
5356
|
+
* </p>
|
|
5357
|
+
*/
|
|
5358
|
+
getVeteranIndicator()
|
|
5359
|
+
{
|
|
5360
|
+
return this.getJavaClass().getVeteranIndicatorSync();
|
|
5361
|
+
}
|
|
5362
|
+
/**
|
|
5363
|
+
* <p>
|
|
5364
|
+
* DDL, Field that indicates that the cardholder is a veteran = “1”, DL/ID, F1N
|
|
5365
|
+
* </p>
|
|
5366
|
+
*/
|
|
5367
|
+
setVeteranIndicator(value)
|
|
5368
|
+
{
|
|
5369
|
+
this.getJavaClass().setVeteranIndicatorSync(value);
|
|
5370
|
+
}
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
|
|
5374
|
+
/**
|
|
5375
|
+
* <p>
|
|
5376
|
+
* Enum for Eye Color in the US Driver's License
|
|
5377
|
+
* </p>
|
|
5378
|
+
*/
|
|
5379
|
+
USADriveIdEyeColor =
|
|
5380
|
+
{
|
|
5381
|
+
/**
|
|
5382
|
+
* <p>
|
|
5383
|
+
* Not filled - equal to NONE
|
|
5384
|
+
* </p>
|
|
5385
|
+
*/
|
|
5386
|
+
NO_INFO: 0,
|
|
5387
|
+
/**
|
|
5388
|
+
* <p>
|
|
5389
|
+
* BLK - Black or very dark brown.
|
|
5390
|
+
* </p>
|
|
5391
|
+
*/
|
|
5392
|
+
BLACK: 1,
|
|
5393
|
+
/**
|
|
5394
|
+
* <p>
|
|
5395
|
+
* BLU - Blue color.
|
|
5396
|
+
* </p>
|
|
5397
|
+
*/
|
|
5398
|
+
BLUE: 2,
|
|
5399
|
+
/**
|
|
5400
|
+
* <p>
|
|
5401
|
+
* BRO - Brown, including amber.
|
|
5402
|
+
* </p>
|
|
5403
|
+
*/
|
|
5404
|
+
BROWN: 3,
|
|
5405
|
+
/**
|
|
5406
|
+
* <p>
|
|
5407
|
+
* DIC - Dichromatic or multicolor, of one or both eyes.
|
|
5408
|
+
* </p>
|
|
5409
|
+
*/
|
|
5410
|
+
MULTI_COLOR: 4,
|
|
5411
|
+
/**
|
|
5412
|
+
* <p>
|
|
5413
|
+
* GRY - Gray color.
|
|
5414
|
+
* </p>
|
|
5415
|
+
*/
|
|
5416
|
+
GRAY: 5,
|
|
5417
|
+
/**
|
|
5418
|
+
* <p>
|
|
5419
|
+
* GRN - Green color.
|
|
5420
|
+
* </p>
|
|
5421
|
+
*/
|
|
5422
|
+
GREEN: 6,
|
|
5423
|
+
/**
|
|
5424
|
+
* <p>
|
|
5425
|
+
* HAZ - Hazel, a mixture of colors, most commonly green and brown.
|
|
5426
|
+
* </p>
|
|
5427
|
+
*/
|
|
5428
|
+
HAZEL: 7,
|
|
5429
|
+
/**
|
|
5430
|
+
* <p>
|
|
5431
|
+
* MAR - Maroon color.
|
|
5432
|
+
* </p>
|
|
5433
|
+
*/
|
|
5434
|
+
MAROON: 8,
|
|
5435
|
+
/**
|
|
5436
|
+
* <p>
|
|
5437
|
+
* PNK - Pink or albino
|
|
5438
|
+
* </p>
|
|
5439
|
+
*/
|
|
5440
|
+
PINK: 9,
|
|
5441
|
+
/**
|
|
5442
|
+
* <p>
|
|
5443
|
+
* UNK - Unknown / Other
|
|
5444
|
+
* </p>
|
|
5445
|
+
*/
|
|
5446
|
+
UNKNOWN: 10
|
|
5447
|
+
}
|
|
5448
|
+
|
|
5449
|
+
|
|
5450
|
+
/**
|
|
5451
|
+
* <p>
|
|
5452
|
+
* Enum for Country Identification in the US Driver's License
|
|
5453
|
+
* </p>
|
|
5454
|
+
*/
|
|
5455
|
+
USADriveIdCountry =
|
|
5456
|
+
{
|
|
5457
|
+
/**
|
|
5458
|
+
* <p>
|
|
5459
|
+
* Not filled - equal to NONE
|
|
5460
|
+
* </p>
|
|
5461
|
+
*/
|
|
5462
|
+
NONE: 0,
|
|
5463
|
+
/**
|
|
5464
|
+
* <p>
|
|
5465
|
+
* Country = U.S.
|
|
5466
|
+
* </p>
|
|
5467
|
+
*/
|
|
5468
|
+
US: 1,
|
|
5469
|
+
/**
|
|
5470
|
+
* <p>
|
|
5471
|
+
* Country = Canada
|
|
5472
|
+
* </p>
|
|
5473
|
+
*/
|
|
5474
|
+
CANADA: 2
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
|
|
5478
|
+
/**
|
|
5479
|
+
* <p>
|
|
5480
|
+
* Enum for Hair Color in the US Driver's License
|
|
5481
|
+
* </p>
|
|
5482
|
+
*/
|
|
5483
|
+
USADriveIdHairColor =
|
|
5484
|
+
{
|
|
5485
|
+
/**
|
|
5486
|
+
* <p>
|
|
5487
|
+
* Not filled - equal to NONE
|
|
5488
|
+
* </p>
|
|
5489
|
+
*/
|
|
5490
|
+
NO_INFO: 0,
|
|
5491
|
+
/**
|
|
5492
|
+
* <p>
|
|
5493
|
+
* BAL - Bald.
|
|
5494
|
+
* </p>
|
|
5495
|
+
*/
|
|
5496
|
+
BALD: 1,
|
|
5497
|
+
/**
|
|
5498
|
+
* <p>
|
|
5499
|
+
* BLK - Black color
|
|
5500
|
+
* </p>
|
|
5501
|
+
*/
|
|
5502
|
+
BLACK: 2,
|
|
5503
|
+
/**
|
|
5504
|
+
* <p>
|
|
5505
|
+
* BLN - Blonde color
|
|
5506
|
+
* </p>
|
|
5507
|
+
*/
|
|
5508
|
+
BLOND: 3,
|
|
5509
|
+
/**
|
|
5510
|
+
* <p>
|
|
5511
|
+
* BRO - Brown color
|
|
5512
|
+
* </p>
|
|
5513
|
+
*/
|
|
5514
|
+
BROWN: 4,
|
|
5515
|
+
/**
|
|
5516
|
+
* <p>
|
|
5517
|
+
* GRY - Gray color
|
|
5518
|
+
* </p>
|
|
5519
|
+
*/
|
|
5520
|
+
GRAY: 5,
|
|
5521
|
+
/**
|
|
5522
|
+
* <p>
|
|
5523
|
+
* RED - Red / Auburn
|
|
5524
|
+
* </p>
|
|
5525
|
+
*/
|
|
5526
|
+
RED: 6,
|
|
5527
|
+
/**
|
|
5528
|
+
* <p>
|
|
5529
|
+
* SDY - Sandy color
|
|
5530
|
+
* </p>
|
|
5531
|
+
*/
|
|
5532
|
+
SANDY: 7,
|
|
5533
|
+
/**
|
|
5534
|
+
* <p>
|
|
5535
|
+
* WHI - White color
|
|
5536
|
+
* </p>
|
|
5537
|
+
*/
|
|
5538
|
+
WHITE: 8,
|
|
5539
|
+
/**
|
|
5540
|
+
* <p>
|
|
5541
|
+
* UNK - Unknown / Other
|
|
5542
|
+
* </p>
|
|
5543
|
+
*/
|
|
5544
|
+
UNKNOWN: 9
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
/**
|
|
5548
|
+
* <p>
|
|
5549
|
+
* Enum for Sex field in the US Driver's License
|
|
5550
|
+
* </p>
|
|
5551
|
+
*/
|
|
5552
|
+
USADriveIdSex =
|
|
5553
|
+
{
|
|
5554
|
+
/**
|
|
5555
|
+
* <p>
|
|
5556
|
+
* Not filled - equal to NONE
|
|
5557
|
+
* </p>
|
|
5558
|
+
*/
|
|
5559
|
+
NONE: 0,
|
|
5560
|
+
/**
|
|
5561
|
+
* <p>
|
|
5562
|
+
* Male — indicates that the holder's sex is defined as male.
|
|
5563
|
+
* </p>
|
|
5564
|
+
*/
|
|
5565
|
+
MALE: 1,
|
|
5566
|
+
/**
|
|
5567
|
+
* <p>
|
|
5568
|
+
* Female — indicates that the holder's sex is defined as female.
|
|
5569
|
+
* </p>
|
|
5570
|
+
*/
|
|
5571
|
+
FEMALE: 2,
|
|
5572
|
+
/**
|
|
5573
|
+
* <p>
|
|
5574
|
+
* Not specified
|
|
5575
|
+
* </p>
|
|
5576
|
+
*/
|
|
5577
|
+
NOT_SPECIFIED: 9
|
|
5578
|
+
}
|
|
5579
|
+
|
|
3765
5580
|
module.exports = {
|
|
3766
5581
|
SwissQRCodetext,
|
|
3767
5582
|
ComplexBarcodeGenerator,
|
|
@@ -3790,5 +5605,14 @@ module.exports = {
|
|
|
3790
5605
|
SecondaryAndAdditionalData,
|
|
3791
5606
|
HIBCLICDateFormat,
|
|
3792
5607
|
HIBCPASDataType,
|
|
3793
|
-
|
|
5608
|
+
MaxiCodeStandardSecondMessage,
|
|
5609
|
+
USADriveIdCodetext,
|
|
5610
|
+
MandatoryFields,
|
|
5611
|
+
DataElement,
|
|
5612
|
+
OptionalFields,
|
|
5613
|
+
USADriveIdHairColor,
|
|
5614
|
+
USADriveIdCountry,
|
|
5615
|
+
USADriveIdEyeColor,
|
|
5616
|
+
USADriveIdSex,
|
|
5617
|
+
SubfileProperties
|
|
3794
5618
|
};
|