public class FieldReference
extends java.lang.Object
Field identification data.| Modifier and Type | Field and Description |
|---|---|
int |
code
Internally used value of
Field identification. |
int |
index
|
| Constructor and Description |
|---|
FieldReference(FieldSource source,
FieldId id)
A new
Field identification data. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares two
FieldReference values. |
static FieldReference |
fromAuthProcess(AuthProcess p)
|
static FieldReference |
fromFile(File f)
|
FieldId |
getId()
The
FieldId. |
FieldSource |
getSource()
Returns the Id of the
FieldSource. |
int |
hashCode()
Returns a hash code value for the object.
|
static AuthProcess |
toAuthProcess(FieldReference r)
|
static File |
toFile(FieldReference r)
|
java.lang.String |
toString()
Returns string representation of the
FieldReference. |
java.lang.String |
toString(java.lang.String insert)
Returns string representation of the
FieldReference. |
public int code
Field identification.public int index
public FieldReference(FieldSource source, FieldId id)
Field identification data.source - Id of the FieldSource.id - FieldId.public FieldSource getSource()
FieldSource.public java.lang.String toString()
FieldReference.toString in class java.lang.ObjectFieldReference.public java.lang.String toString(java.lang.String insert)
FieldReference.insert - String to insert between the source and the id strings.FieldReference.public boolean equals(java.lang.Object obj)
FieldReference values.equals in class java.lang.Objectobj - The other FieldReference values.public int hashCode()
hashCode in class java.lang.Objectpublic static File toFile(FieldReference r) throws DataOutOfRange
r - ECard data group FieldReference.ECard file identifier.DataOutOfRangepublic static FieldReference fromFile(File f) throws DataOutOfRange
f - ECard file identifier.ECard data group FeldReference.DataOutOfRangepublic static AuthProcess toAuthProcess(FieldReference r) throws DataOutOfRange
r - ECard digital authentication FieldReference.ECard authentication identifier.DataOutOfRangepublic static FieldReference fromAuthProcess(AuthProcess p) throws DataOutOfRange
p - ECard authentication identifier.ECard digital authentication FieldReference.DataOutOfRangeARH Passport Reader v 2.2.0.17 / 2017 July 19 14:58