public class Field extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<Field>
| Constructor and Description |
|---|
Field()
Creates a new instance of the Field class.
|
Field(long handle)
Creates a new instance of the Field class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by this Field.
|
boolean |
containsBiometricData(BiometricDataType biometricDataType,
java.lang.String biometricFormat)
Returns a value indicating whether the field (or one of its child fields) contains biometric data of the specified type and/or format.
|
boolean |
containsExtension(FieldExtensionType extensionType)
Returns a value indicating whether the field (or one of its child fields) contains an extension of the specified type.
|
boolean |
containsExtensionByName(java.lang.String extensionName)
Returns a value indicating whether the field (or one of its child fields) contains an extension with specified name.
|
boolean |
containsKey(java.lang.String key)
Determines whether the Fieldobject contains the specified key.
|
protected void |
finalize()
Finalizer for this class.
|
Field |
get(java.lang.String key)
Gets an item of the Field object.
|
byte[] |
getBinaryAtIndex(int index)
Gets the binary data at the specified index.
|
boolean |
getContainsBiometrics()
Gets the A value indicating whether the field (or one of its child fields) contains biometric data.
|
int |
getCount()
Gets the number of elements in the Field object.
|
FieldExtensionType |
getExtensionType()
Gets the the field extension type.
|
Extension |
getFieldExtension()
Gets the the field extension.
|
FieldType |
getFieldType()
Gets the the field type.
|
long |
getHandle()
Gets the native handle.
|
boolean |
getIsNull()
Gets the A value indicating whether if the field is null.
|
StringArray |
getKeys()
Gets the gets a string list containing the keys in the dict.
|
java.lang.String |
getLocalizedLabel(java.lang.String language)
Retrieves the localized label based on the provided language code.
|
java.lang.String |
getLocalizedValue(java.lang.String language)
Retrieves the localized value based on the provided language code.
|
java.lang.String |
getName()
Gets the the field name.
|
Field |
getObjectAtIndex(int index)
Gets the object at the specified index.
|
byte[] |
getValueAsBinary()
Gets the the data as a binary array.
|
boolean |
getValueAsBoolean()
Gets the the field value as a boolean.
|
boolean[] |
getValueAsBooleanArray()
Gets the the field value as an array of booleans.
|
DateTime |
getValueAsDate()
Gets the the field value as a date.
|
DateTime |
getValueAsDateTime()
Gets the the field value as a date/time.
|
DateTimeArray |
getValueAsDateTimeArray()
Gets the the field value as an array of dates.
|
float |
getValueAsFloat()
Gets the the field value as a float.
|
float[] |
getValueAsFloatArray()
Gets the the field value as an array of floats.
|
long |
getValueAsInteger()
Gets the the field value as a 64-bit integer.
|
long[] |
getValueAsIntegerArray()
Gets the the field value as an array of 64-bit integers.
|
java.lang.String |
getValueAsString()
Gets the the field value as a string.
|
StringArray |
getValueAsStringArray()
Gets the the field value as an array of strings.
|
DateTime |
getValueAsTime()
Gets the the field value as a time.
|
long |
getValueAsTimestamp()
Gets the the field value as a timestamp (without timezone computation).
|
long[] |
getValueAsTimestampArray()
Gets the the field value as an array of timestamp.
|
VisibilityCondition |
getVisibilityCondition()
Gets the the visibility condition.
|
java.util.Iterator<Field> |
iterator() |
void |
setTimeZoneOffset(int offsetInSeconds)
Set the time zone offset in seconds.
|
public Field()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Field(long handle)
throws BiosealException
handle - Handle to the Field.BiosealException - An error has occurred during Bioseal Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public FieldType getFieldType() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getName()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public long getValueAsInteger()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public boolean getValueAsBoolean()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public float getValueAsFloat()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getValueAsString()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public byte[] getValueAsBinary()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTime getValueAsDate() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTime getValueAsTime() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTime getValueAsDateTime() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public long getValueAsTimestamp()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public long[] getValueAsIntegerArray()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public boolean[] getValueAsBooleanArray()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public float[] getValueAsFloatArray()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public StringArray getValueAsStringArray() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public DateTimeArray getValueAsDateTimeArray() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public long[] getValueAsTimestampArray()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public boolean getIsNull()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public boolean getContainsBiometrics()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public FieldExtensionType getExtensionType() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Extension getFieldExtension() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public VisibilityCondition getVisibilityCondition() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public StringArray getKeys() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Field get(java.lang.String key) throws BiosealException
key - Unique key of the Field item to get.BiosealException - An error has occurred during Bioseal Library execution.public int getCount()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public boolean containsKey(java.lang.String key)
throws BiosealException
key - The key to locate in the Field object.BiosealException - An error has occurred during Bioseal Library execution.public Field getObjectAtIndex(int index) throws BiosealException
index - The index of the object to retrieve.BiosealException - An error has occurred during Bioseal Library execution.public byte[] getBinaryAtIndex(int index)
throws BiosealException
index - The index of the binary field to retrieve.BiosealException - An error has occurred during Bioseal Library execution.public void setTimeZoneOffset(int offsetInSeconds)
throws BiosealException
offsetInSeconds - The time zone offset in seconds.BiosealException - An error has occurred during Bioseal Library execution.public boolean containsExtension(FieldExtensionType extensionType) throws BiosealException
extensionType - The field extension type.BiosealException - An error has occurred during Bioseal Library execution.public boolean containsExtensionByName(java.lang.String extensionName)
throws BiosealException
extensionName - A string that identifies the extension.BiosealException - An error has occurred during Bioseal Library execution.public boolean containsBiometricData(BiometricDataType biometricDataType, java.lang.String biometricFormat) throws BiosealException
biometricDataType - The biometric data type.biometricFormat - The biometric data format.BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getLocalizedLabel(java.lang.String language)
throws BiosealException
language - The language code for which the label should be localized (e.g., 'en' for English, 'fr' for French).BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getLocalizedValue(java.lang.String language)
throws BiosealException
language - The language code for which the value should be localized (e.g., 'en' for English, 'fr' for French).BiosealException - An error has occurred during Bioseal Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal