*
* @see #setPrimaryKey(Serializable)
*/
- Long getPrimaryKey();
+ Serializable getPrimaryKey();
/**
* Sets the primary key.
*
* @see #getPrimaryKey()
*/
- void setPrimaryKey(Long aKey);
+ void setPrimaryKey(Serializable aKey);
/**
* Gets the version.
*
* @see #setPersistedVersion(int)
*/
- int getPersistedVersion();
+ Number getPersistedVersion();
/**
* Sets the version.
*
* @see #getPersistedVersion()
*/
- void setPersistedVersion(int aVersion);
+ void setPersistedVersion(Number aVersion);
}