public class RecordInfo
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
databaseName
Physical database name.
|
private java.lang.Long |
recordID
Primary key ID.
|
private java.lang.String |
tableName
Name of table.
|
Constructor and Description |
---|
RecordInfo()
Default constructor
|
RecordInfo(java.lang.String databaseName,
java.lang.String tableName,
java.lang.Long recordID)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test for equivalence with another object.
|
java.lang.String |
getDatabaseName()
Retrieve the physical database name.
|
java.lang.Long |
getRecordID()
Retrieve the primary key ID of the record.
|
java.lang.String |
getTableName()
Retrieve the table name.
|
int |
hashCode()
Return a hash code consistent with
equals(java.lang.Object) . |
void |
setDatabaseName(java.lang.String databaseName)
Sets the database name.
|
void |
setRecordID(java.lang.Long recordID)
Sets the record id.
|
void |
setTableName(java.lang.String tableName)
Sets the table name.
|
private java.lang.String databaseName
private java.lang.String tableName
private java.lang.Long recordID
public RecordInfo()
public RecordInfo(java.lang.String databaseName, java.lang.String tableName, java.lang.Long recordID)
databaseName
- Physical database name.tableName
- Name of table.recordID
- Primary key ID.public java.lang.String getDatabaseName()
public java.lang.String getTableName()
public java.lang.Long getRecordID()
public void setDatabaseName(java.lang.String databaseName)
databaseName
- The database namepublic void setTableName(java.lang.String tableName)
tableName
- The table namepublic void setRecordID(java.lang.Long recordID)
recordID
- The record id.public int hashCode()
equals(java.lang.Object)
.hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to compare with.true
if o
is the same type and the same internal state
as this object; else false
.