USADriveIdJurisdSubfile
Inheritance: java.lang.Object
public class USADriveIdJurisdSubfile
Class for Jurisdiction specific fields for USA DL
Constructors
| Constructor | Description |
|---|---|
| USADriveIdJurisdSubfile() |
Methods
| Method | Description |
|---|---|
| addOrReplace(USADriveIdJurisdSubfile.DataElement node) | Adds new DataElement or replaces it if ElementID already exists. |
| addOrReplace(String id, String value) | Adds a new DataElement with the specified identifier and value, or replaces the existing element if an entry with the same ElementID is already present. |
| clear() | Clears all data elements |
| equals(Object arg0) | |
| findDataElement(String id, boolean isOpenOrCreate) | Searches for data element by 3-letter id |
| getClass() | |
| getCount() | Returns number of data elements |
| get_Item(int index) | Indexing by index number |
| get_Item(String id) | Indexing by 3-letter element id |
| hashCode() | |
| insert(int index, USADriveIdJurisdSubfile.DataElement node) | Inserts the specified DataElement at the given index. |
| notify() | |
| notifyAll() | |
| removeAt(int index) | Tries to remove element at index |
| removeAt(String id) | Tries to remove element with 3-letter id |
| set_Item(int index, USADriveIdJurisdSubfile.DataElement value) | Indexing by index number |
| set_Item(String id, USADriveIdJurisdSubfile.DataElement value) | Indexing by 3-letter element id |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
USADriveIdJurisdSubfile()
public USADriveIdJurisdSubfile()
addOrReplace(USADriveIdJurisdSubfile.DataElement node)
public final USADriveIdJurisdSubfile.DataElement addOrReplace(USADriveIdJurisdSubfile.DataElement node)
Adds new DataElement or replaces it if ElementID already exists.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| node | DataElement | DataElement to add |
Returns: DataElement - Added/replaced data element
addOrReplace(String id, String value)
public final USADriveIdJurisdSubfile.DataElement addOrReplace(String id, String value)
Adds a new DataElement with the specified identifier and value, or replaces the existing element if an entry with the same ElementID is already present.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | A 3-letter identifier that uniquely specifies the jurisdiction-related data element. |
| value | java.lang.String | The text value assigned to the data element; this value will overwrite the existing one if the element already exists. |
Returns: DataElement - The DataElement instance that was added to the collection or updated in place.
clear()
public final void clear()
Clears all data elements
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
findDataElement(String id, boolean isOpenOrCreate)
public final USADriveIdJurisdSubfile.DataElement findDataElement(String id, boolean isOpenOrCreate)
Searches for data element by 3-letter id
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | 3-letter id |
| isOpenOrCreate | boolean | If true, it will be created if not found |
Returns: DataElement - Found data element
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public final int getCount()
Returns number of data elements
Returns: int
get_Item(int index)
public final USADriveIdJurisdSubfile.DataElement get_Item(int index)
Indexing by index number
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Element index (int) |
Returns: DataElement - Corresponding DataElement
get_Item(String id)
public final USADriveIdJurisdSubfile.DataElement get_Item(String id)
Indexing by 3-letter element id
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | 3-letter element id |
Returns: DataElement - Corresponding DataElement
hashCode()
public native int hashCode()
Returns: int
insert(int index, USADriveIdJurisdSubfile.DataElement node)
public final USADriveIdJurisdSubfile.DataElement insert(int index, USADriveIdJurisdSubfile.DataElement node)
Inserts the specified DataElement at the given index. If a DataElement with the same ElementID already exists, it will be replaced.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | The zero-based index at which the element should be inserted. |
| node | DataElement | The DataElement instance to insert or replace at the target position. |
Returns: DataElement - The DataElement that was inserted or used to replace an existing entry.
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeAt(int index)
public final boolean removeAt(int index)
Tries to remove element at index
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | index number |
Returns: boolean - true if successful, false if out of range
removeAt(String id)
public final boolean removeAt(String id)
Tries to remove element with 3-letter id
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | 3-letter id |
Returns: boolean - true if successful, false if no such id
set_Item(int index, USADriveIdJurisdSubfile.DataElement value)
public final void set_Item(int index, USADriveIdJurisdSubfile.DataElement value)
Indexing by index number
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int | Element index (int) |
| value | DataElement |
set_Item(String id, USADriveIdJurisdSubfile.DataElement value)
public final void set_Item(String id, USADriveIdJurisdSubfile.DataElement value)
Indexing by 3-letter element id
Parameters:
| Parameter | Type | Description |
|---|---|---|
| id | java.lang.String | 3-letter element id |
| value | DataElement |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |