package org.nanotek.cms.domain.base;
/**
* Relational databases tell one row from another by using key - in particular, the primary key.
* However, in-memory objects don't need such a key, as the object system ensures the correct identity under the covers
* (or in C++'s case with raw memory locations).
* Reading data from a database is all very well, but in order to write data back you need to tie the
* database to the in-memory object system.
*/
import org.nanotek.cms.domain.AbstractBase;
//Lord let the uiskey flow...
@SuppressWarnings("serial")
public class StringIdentity extends AbstractBase<String> {
private String id;
@Override
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}